Perform a grab on with parameters given in a GrabLocation struct Reimplemented from AVR.Phys.AVR_BasicGrabProvider. Definition at line 53 of file AVR_OffsetGrabProvider.cs. 61 // We need to find out the position offset *under the above given rotation*. For these purposes we temporarily apply the rotation to location.grabbable,
65 grabbedObjectCenter.position = grabPoint.position + (location.grabbable.transform.position - location.location);
71 grabbedObjectCenter.position = grabPoint.position + (location.grabbable.transform.position - location.location);
virtual IEnumerator setHand() Definition: AVR_OffsetGrabProvider.cs:110 AVR_Grabbable grabbedObject Object that is currently being grabbed. Null if no object is being grabbed Definition: AVR_BasicGrabProvider.cs:55 |