hello i am on a project where i use positionGizmos. i must and can snap to another mesh on condition that i give a resonable mouse stroke. but if i give a big stroke, it doesn’t snap and goes through the mesh where it snaps… so i thought of limiting the drag speed, but i can’t find anything… would you have a solution to my problem?
Thank you in advance for the answers that will follow.
cc @Cedric for the gizmo question
The drag can be monitored and validated/discarded using this api:
https://doc.babylonjs.com/typedoc/classes/BABYLON.PointerDragBehavior#validatedrag
You’ll have to compute the speed and reject it if necessary.
2 Likes
hello, great! I’m going to try this on my side, thank you very much for the speed of response!
have a good day and have a good weekend!
1 Like