Interactive hand model that adapts itself to grabbed objects. Only works with Offset- or AdvancedOffset- GrabProviders. More...
Classes | |
class | AVR_Finger |
Public Member Functions | |
Transform | HandVisualTransform () |
Transform | HandControllerTransform () |
Transform | ControllerTransform () |
void | disableColliders () |
void | enableColliders () |
void | ApplyNodePose (AVR_GrabNode node) |
void | SqueezeOn (Collider collider) |
void | SqueezeOn (Collider collider, Vector3 collider_offset) |
void | SqueezeOn (AVR_Grabbable g) |
void | SqueezeOn (AVR_Grabbable g, Vector3 grabbable_offset) |
void | Relax () |
void | SetSqueezeWeight (float w) |
void | SetFakeParent (Transform fp) |
void | UnsetFakeParent () |
Public Member Functions inherited from AVR.Core.AVR_Behaviour | |
virtual void | OnDestroy () |
Public Attributes | |
List< AVR_Finger > | fingers = new List<AVR_Finger>() |
Animator | animator |
Transform | index_tip |
float | delta = 0.05f |
Transform | glove_transform |
bool | hand_colliders |
bool | physical_hand |
Rigidbody | physical_hand_rb |
List< Collider > | colliders = new List<Collider>() |
Public Attributes inherited from AVR.Core.AVR_Component | |
UnityEngine.Events.UnityEvent | onAwake |
Events called when this component awakes. More... | |
UnityEngine.Events.UnityEvent | onStart |
Events called when this component starts. More... | |
UnityEngine.Events.UnityEvent | onEnable |
Events called when this component is enabled. More... | |
UnityEngine.Events.UnityEvent | onDisable |
Events called when this component is disabled. More... | |
Protected Member Functions | |
override void | Start () |
Protected Member Functions inherited from AVR.Core.AVR_ControllerComponent | |
override void | Awake () |
Protected Member Functions inherited from AVR.Core.AVR_Component | |
virtual void | OnEnable () |
virtual void | OnDisable () |
Static Protected Member Functions | |
static bool | ColliderContains (Collider c, Vector3 pos) |
Private Member Functions | |
void | Update () |
void | LateUpdate () |
void | FixedUpdate () |
Private Attributes | |
Transform | middle_tip |
Transform | ring_tip |
Transform | pinky_tip |
Transform | thumb_tip |
Transform | fake_parent |
Vector3 | def_pos |
Quaternion | def_rot |
Transform | handControllerTransform |
Additional Inherited Members | |
Protected Attributes inherited from AVR.Core.AVR_Behaviour | |
AVR_PlayerRig | playerRig => AVR_PlayerRig.Instance |
The current AVR_PlayerRig instance in the scene More... | |
AVR_Root | root => AVR_Root.Instance |
The current AVR_Root instance in the scene More... | |
bool | vrEnabled => UnityEngine.XR.XRSettings.enabled |
True if the application is running as a VR/XR application More... | |
Properties inherited from AVR.Core.AVR_ControllerComponent | |
AVR_Controller | controller [get, set] |
Interactive hand model that adapts itself to grabbed objects. Only works with Offset- or AdvancedOffset- GrabProviders.
Definition at line 10 of file AVR_Hand.cs.