1 using System.Collections;
2 using System.Collections.Generic;
14 public Vector3 location => isNode ? node.transform.position : grabbable.transform.TransformPoint(_llocation);
15 public Vector3 localLocation => _llocation;
26 this.grabbable = grabbable;
27 this._llocation = grabbable.transform.InverseTransformPoint(location);
28 this.distance = distance;
29 this.collider = collider;
36 this.grabbable = grabbable;
37 this._llocation = grabbable.transform.InverseTransformPoint(location);
38 this.distance = distance;
51 public abstract bool getGrabLocation(out
GrabLocation location);
56 return transform.position;
GrabLocation(AVR_Grabbable grabbable, Vector3 location, float distance, AVR_GrabNode node)
Represents an (attempted) grab at a given location of an object.
Represents a grabbable object.
Sets the documentation html file inside of Packages/com.avr.core/Documentation/html of a given class...
GrabLocation(AVR_Grabbable grabbable, Vector3 location, float distance, Collider collider)
Represents a grabbable node on an AVR_Grabbable. Nodes have preset poses/constraints for the hand tha...
virtual Vector3 closestPoint(Vector3 pos)
Base class for all arc-vr components. A component is typically a Monobehaviour that represents a virt...
Class to retrieve a Grabbable object from a location, volume or similar.