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

WristAngleActiveState Class

Extends MonoBehaviour, IActiveState
This ActiveState checks that the wrist rotation relative to the arm (approximated by the direction from the estimated shoulder to the wrist) stays within a valid range.

Properties

IHand Hand[Get]
float MinAngle[Get]
float MaxAngle[Get]
True if the angle of the wrist relative to the arm is whithin the valid range.

Protected Fields

bool _started[Get]

Protected Functions

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

Member Functions

void InjectAllWristAngleActiveState
( IHand hand,
Transform shoulder )
void InjectHand
( IHand hand )
void InjectShoulder
( Transform shoulder )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon