DistanceGrabInteractor Class
DistanceGrabInteractor lets you grab interactables at a distance with controllers and will move them using configurable IMovements.
It uses a IDistantCandidateComputer in order to Hover the best candidate.
The origin of the frustrums used by <cref="DistantCandidateComputer" />.
The hitpoint of your controller's frustrum.
A reference to the main Transform of the current Interactable.
override void DoPreprocess ( )
override void InteractableSelected
override void InteractableUnselected
virtual override Pose ComputePointerPose ( )
override void DoSelectUpdate ( )
void InjectAllDistanceGrabInteractor Adds a <cref="DistanceGrabInteractor"/> to a dynamically instantiated GameObject.
Adds an <cref="ISelector"/> to a dynamically instantiated GameObject.
void InjectDistantCandidateComputer Adds a <cref="DistantCandidateComputer"/> 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 <cref="IThrowVelocityCalculator"/> to a dynamically instantiated GameObject.