The DragMode determines how an object is dragged around in the scene.

Enumeration Members

Attached

Object is dragged as if it was attached to the pointer. In 2D, that means it's dragged along the camera screen plane. In XR, it's dragged by the controller/hand.

DynamicViewAngle

Combination of XZ and Screen based on the viewing angle. Low angles result in Screen dragging and higher angles in XZ dragging.

HitNormal

Object is dragged along the initial raycast hit normal.

None

Don't allow dragging the object

SnapToSurfaces

The drag plane is adjusted dynamically while dragging.

XZPlane

Object stays at the same horizontal plane as it started. Commonly used for objects on the floor