API reference
API reference
Select your platform
No SDKs available
No versions available

DistanceGrabInteractable Class

This interactable makes an object grabbable at a distance.

Fields

Collider [] Colliders[Get]
Rigidbody Rigidbody[Get]
Transform RelativeTo[Get]

Properties

IMovementProvider MovementProvider[Get]
bool ResetGrabOnGrabsUpdated[Get]

Protected Functions

virtual void Reset ( )
override void Awake ( )
override void Start ( )

Member Functions

Moves the interactable to the provided position.
Applies velocities to the interactable's <cref="PhysicsGrabbable" /> if it has one.
Adds a Rigidbody to a dynamically instantiated GameObject.
Adds a Rigidbody to a dynamically instantiated GameObject.
Adds a grab source to a dynamically instantiated GameObject.
Adds a <cref="PhysicsGrabbable" /> to a dynamically instantiated GameObject.
Adds a <cref="IMovementProvider" /> to a dynamically instantiated GameObject.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon