I tried to enable snapping when translating a mesh, but it doesn’t work. See lines 32-33
Babylon has the gizmo integrate. Why not use it instead:
Ssatguru answered me on github
editControl.setTransSnap(true);
instead of
editControl.setTransSnap = true;
is the solution.
Yes, but I prefere his one, because of its extras in the design and the undo- & redo-function. I wonder why it isn’t integrated in babylonJS