VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
virtual Vector3 AVR.Phys.AVR_BasicGrabProvider.getWorldGrabLocation ( )
inlinevirtual

Location at which the object is being grabbed in world coordinates. Example: If we grab a pan by its handle, the handles world coordinates will correspond to this. Returns Vector3.zero if no object is being grabbed.

Definition at line 79 of file AVR_BasicGrabProvider.cs.

79  {
80  return grabbedObject ? grabLocation.location : Vector3.zero;
81  }
AVR_Grabbable grabbedObject
Object that is currently being grabbed. Null if no object is being grabbed