Link used to specify how / where a Grabbable is grabbed.

Hierarchy

  • Component
    • GrabPoint

Properties

interactorVisualState: InteractorVisualState = InteractorVisualState.None

Visual state to apply to the interactor once interaction occurs.

maxDistance: number = 0.2

Maximum distance at which interaction can occur.

Note

This is only used if searchMode is set to GrabSearchMode.Distance.

searchMode: GrabSearchMode = GrabSearchMode.Distance

Search mode, defaults to GrabSearchMode.Distance

snap: GrabSnapMode = GrabSnapMode.PositionRotation

Snap mode, defaults to GrabSnapMode.PositionRotation

snapLerp: number = 0.75

Lerp value used during interaction.

Smaller values make the grabbable more slowly snap to the interactor, higher values make the snapping effect more instantaneous.

Note

This value is clamped in the range [0, 1].

Defaults to 0.75.

transferable: boolean = false

If true, handle can be transfered to another interactor.

TypeName: string = 'grab-point'

Accessors