Only drag the grid horizontally


This model has three axes, the X-axis, the Y-axis and the z-axis, that you can drag, but I just want to drag the model in a plane, so I just want to drag the X-axis and the z-axis, and I want the Y-axis to be undraggable, what do I do

Hi,

you can use two axis gizmos:

https://www.babylonjs-playground.com/#31M2AP#81

3 Likes
  • Thanks a lot. You solved my problem