I noticed a weird behavior on the pointerDragBehavior. When using dragAxis values other than Axis X, Y, Z the mouse cursor is not ‘really’ following the attachedNode
I made a playground with a green sphere to render the current dragPlanePoint of the behavior.
I found a way of computing it, in this playground the blue sphere is following the line and the mouse cursor, the gray sphere is the position from the actual behavior https://playground.babylonjs.com/#YEZPVT#2536
We have to store the initial drag position
let dragStartPosition = BABYLON.Vector3.Zero()
pointerDragBehavior.onDragStartObservable.add((event)=>{
dragStartPosition = event.dragPlanePoint
})