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

DistantPointDetector Class

This class contains the logic for finding the best candidate among a series of colliders.
It uses up to three conical frustums from DistantPointDetectorFrustums for selection and deselection.

Member Functions

DistantPointDetector
bool ComputeIsPointing
( Collider[] colliders,
bool isSelecting,
out float bestScore,
out Vector3 bestHitPoint )
bool IsPointingWithoutAid
( Collider[] colliders,
out Vector3 bestHitPoint )
bool IsWithinDeselectionRange
( Collider[] colliders )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon