Enable rotatioGizmo rotate by step?

How to make rotationGizmo rotate mesh with constant value or percentage?

Do you mean ‘snapping’? Snap distance sets the constant angle.

const rotationGizmo = new PlaneRotationGizmo(Vector3.Up());
rotationGizmo.attachedMesh = mesh;
rotationGizmo.snapDistance = Math.PI/2;

2 Likes