VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
override void AVR.Phys.AVR_OffsetGrabProvider.Start ( )
inlineprotectedvirtual

Reimplemented from AVR.Phys.AVR_BasicGrabProvider.

Definition at line 25 of file AVR_OffsetGrabProvider.cs.

25  {
26  base.Start();
27  if(!handVisual) handVisual = transform.parent.GetComponentInChildren<AVR_Hand>();
28  grabbedObjectCenter = new GameObject("grabbedObjectCenter").transform;
29  grabbedObjectCenter.SetParent(grabPoint);
30  }
Transform grabPoint
Transform of the location an object is grabbed towards (Typically the palm of your hand)...
Transform grabbedObjectCenter
Location an rotation the grabbed objects transform will strive to adopt. Eg: if we grab a pan by its ...