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

GrabInteractable Class

Makes an object grabbable by controllers so long as it's within arm's reach.

Properties

Collider[] Colliders[Get]
Rigidbody Rigidbody[Get]
bool UseClosestPointAsGrabSource[Get]
float ReleaseDistance[Get]
bool ResetGrabOnGrabsUpdated[Get]

Protected Functions

override void Awake ( )
override void Start ( )

Member Functions

Determines the position of the grabbed object.
This is used as the location from which the object will be grabbed.
Parameters
target
The Transform of the interactor.
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 release distance to a dynamically instantiated GameObject.
Adds a physics grabbable to a dynamically instantiated GameObject.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon