I have a cube on which I want to add a plane when a face is picked. Once the plane is placed I want to add dragBehavior to it. However the plane is getting incorrect drag axis and not getting dragged along the direction of normal of the picked face.
Hello @gfxnoob , you can try to use drag plane in world space
pointerDragBehavior.useObjectOrientationForDragging = false;
https://playground.babylonjs.com/#QAK4VN#19
https://doc.babylonjs.com/features/featuresDeepDive/behaviors/meshBehaviors#pointerdragbehavior
4 Likes