GrabInteractor Class
Enables grab for objects within arm's reach that have a <cref="GrabInteractable" />.
It works with both controllers and hands, but for hands it's better to use HandGrabInteractor.
override void DoPreprocess ( )
override void InteractableSelected
override void InteractableUnselected
virtual override void HandlePointerEventRaised
virtual override Pose ComputePointerPose ( )
override void DoSelectUpdate ( )
override bool ComputeShouldUnselect ( )
Forces the controller to select a certain interactable even if it's not the closest.
Forces the controller to unselect the currently selected interactable.
override void Unselect ( )
void InjectAllGrabInteractorRigidbody rigidbody )
Adds a <cref="ISelector"/> and Rigidbody to a dynamically instantiated GameObject.
Adds an <cref="ISelector"/> to a dynamically instantiated GameObject.
void InjectRigidbody ( Rigidbody rigidbody )
Adds a Rigidbody to a dynamically instantiated GameObject.
void InjectOptionalGrabCenter ( Transform grabCenter )
Adds a grab center to a dynamically instantiated GameObject.
void InjectOptionalGrabTarget ( Transform grabTarget )
Adds a grab target to a dynamically instantiated GameObject.
void InjectOptionalVelocityCalculator Adds a velocity calculator to a dynamically instantiated GameObject.