diff --git a/package.json b/package.json
index 458894bd..515cbef9 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "ui",
- "version": "0.28.5",
+ "version": "0.28.6",
"private": true,
"scripts": {
"dev": "react-scripts start",
diff --git a/src/components/Machine3D/Machine3D.tsx b/src/components/Machine3D/Machine3D.tsx
index cae7f6a6..d9d22f8d 100644
--- a/src/components/Machine3D/Machine3D.tsx
+++ b/src/components/Machine3D/Machine3D.tsx
@@ -12,6 +12,7 @@ interface IMachine3D {
x: number;
y: number;
z: number;
+ yaw?: number;
};
};
}
@@ -64,7 +65,7 @@ export default function Machine3D({ item }: IMachine3D) {
onPointerLeave={() => hovered && setHovered(false)}
scale={1}
position={[item?.waypoint?.y, item?.waypoint?.z + 0.5, item?.waypoint?.x]}
- rotation={[0, item?.waypoint?.z || 0, 0]}
+ rotation={[0, item?.waypoint?.yaw || 0, 0]}
>
;
})}
+
);
}