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

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.

Properties

IThrowVelocityCalculator VelocityCalculator[Get]
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.

Protected Functions

override void Awake ( )
override void Start ( )
override void DoPreprocess ( )
override DistanceGrabInteractable ComputeCandidate ( )
override void InteractableSelected
( DistanceGrabInteractable interactable )
override void InteractableUnselected
( DistanceGrabInteractable interactable )
virtual override Pose ComputePointerPose ( )
override void DoSelectUpdate ( )

Member Functions

Adds a <cref="DistanceGrabInteractor"/> to a dynamically instantiated GameObject.
Adds an <cref="ISelector"/> to a dynamically instantiated GameObject.
Adds a <cref="DistantCandidateComputer"/> to a dynamically instantiated GameObject.
Adds a grab center to a dynamically instantiated GameObject.
Adds a grab target to a dynamically instantiated GameObject.
Adds a <cref="IThrowVelocityCalculator"/> to a dynamically instantiated GameObject.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon