Property | Type | Description | |
---|---|---|---|
m_pivot | Vector3 | ||
m_target | |||
m_targetPivot | Vector3 |
Method | Description | |
---|---|---|
ApplyConstraints ( ) : void | ||
ApplyInteractions ( ) : void | ||
ApplyPhysics ( ) : void | ||
Awake ( ) : void | ||
FixedUpdate ( ) : void | ||
OnTriggerEnter ( |
Change the state of the physics to "Interacting" if no other hands were interacting and if the collider is a hand
|
|
OnTriggerExit ( |
Change the state of the physics to "Reflecting" if the object exiting is the hand
|
|
ResetPivots ( ) : void |
Resets the pivots
|
|
onInteractionDisabled ( ) : void |
Called when widget becomes non-interactable. Implement this function to handle changes to the widget when interaction is disabled (ie. starting a disable animation) |
|
onInteractionEnabled ( ) : void |
Called when widget becomes interactable. Implement this function to handle changes to the widget when interaction is enabled (ie. starting an enable animation) |
Method | Description | |
---|---|---|
IsHand ( |
Returns true or false by checking if "HandModel" exits in the parent of the collider
|
protected abstract ApplyConstraints ( ) : void | ||
return | void |
protected abstract ApplyInteractions ( ) : void | ||
return | void |
protected OnTriggerEnter ( |
||
collider | ||
return | void |
protected OnTriggerExit ( |
||
collider | ||
return | void |
protected GameObject,UnityEngine m_target | ||
return |