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

ColliderContainsHandJointActiveState Class

Extends MonoBehaviour, IActiveState
Test if hand joint is inside generic collider and updates its active state based on that test.
We could trigger-based testing, but if the hand disappears during one frame, we will not get a trigger exit event (which means we require manual testing in Update anyway to accomodate that edge case).

Properties

bool Active[Get]

Protected Functions

virtual void Awake ( )
virtual void Start ( )
virtual void Update ( )

Member Functions

void InjectAllColliderContainsHandJointActiveState
( IHand hand,
Collider [] entryColliders,
Collider [] exitColliders,
HandJointId jointToTest )
void InjectHand
( IHand hand )
void InjectEntryColliders
( Collider [] entryColliders )
void InjectExitColliders
( Collider [] exitColliders )
void InjectJointToTest
( HandJointId jointToTest )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon