VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Public Member Functions | Public Attributes | Private Attributes | List of all members
AVR.Phys.AVR_GrabNode Class Reference

Represents a grabbable node on an AVR_Grabbable. Nodes have preset poses/constraints for the hand that are applied when grabbed. More...

Inheritance diagram for AVR.Phys.AVR_GrabNode:
AVR.Core.AVR_Behaviour

Public Member Functions

void Awake ()
 
Quaternion get_target_rotation (Quaternion hand_rot)
 
- Public Member Functions inherited from AVR.Core.AVR_Behaviour
virtual void OnDestroy ()
 

Public Attributes

float index_pose = 0.0f
 
float middle_pose = 0.0f
 
float ring_pose = 0.0f
 
float pinky_pose = 0.0f
 
float thumb_pose = 0.0f
 
float allowed_pitch = 0.0f
 
float allowed_yaw = 0.0f
 
float allowed_roll = 0.0f
 
float pitch_test = 0.0f
 
float roll_test = 0.0f
 
float yaw_test = 0.0f
 
float override_radius = 0.1f
 

Private Attributes

AVR.Phys.AVR_Grabbable master
 

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...
 

Detailed Description

Represents a grabbable node on an AVR_Grabbable. Nodes have preset poses/constraints for the hand that are applied when grabbed.

Definition at line 15 of file AVR_GrabNode.cs.