Hello. I wanted to tell you about a simple problem that I couldn’t find a solution to. I have a draggable ball on the screen. This ball moves only in the x and z axis. This is how I set it up but when my ball’s y rotation changes, my ball also moves in x - y and z rotation. I don’t want it to move in y rotation. Please help me.
I found the solution.
Babylon.js Playground (babylonjs.com)
pointerDragBehavior.useObjectOrientationForDragging = false;
1 Like