Skip to content

Variable: MovementMode

const MovementMode: object

Defined in: packages/core/src/grab/handles.ts:21

MovementMode for DistanceGrabbable.

Type Declaration

MoveAtSource

MoveAtSource: string = 'MoveAtSource'

Object moves relative to controller delta movement while maintaining distance.

MoveFromTarget

MoveFromTarget: string = 'MoveFromTarget'

Object smoothly moves with the ray cast end point of the grabbing controller.

MoveTowardsTarget

MoveTowardsTarget: string = 'MoveTowardsTarget'

Object smoothly moves toward the input source that's grabbing.

RotateAtSource

RotateAtSource: string = 'RotateAtSource'

Object rotates in place without translation or scaling.