Retrieves an AVR_Grabbable from a given volume (convex collider). The object closest to the given GrabPoint takes priority. More...
Public Member Functions | |
override Vector3 | closestPoint (Vector3 pos) |
override bool | getGrabLocation (out GrabLocation location) |
Public Member Functions inherited from AVR.Core.AVR_Behaviour | |
virtual void | OnDestroy () |
Public Attributes | |
Transform | GrabPoint |
Public Attributes inherited from AVR.Core.AVR_Component | |
UnityEngine.Events.UnityEvent | onAwake |
Events called when this component awakes. More... | |
UnityEngine.Events.UnityEvent | onStart |
Events called when this component starts. More... | |
UnityEngine.Events.UnityEvent | onEnable |
Events called when this component is enabled. More... | |
UnityEngine.Events.UnityEvent | onDisable |
Events called when this component is disabled. More... | |
Protected Member Functions | |
override void | Start () |
Protected Member Functions inherited from AVR.Core.AVR_Component | |
virtual void | Awake () |
virtual void | OnEnable () |
virtual void | OnDisable () |
Private Member Functions | |
void | OnTriggerEnter (Collider other) |
void | OnTriggerExit (Collider other) |
Private Attributes | |
List< Collider > | colliders = new List<Collider>() |
Collider | col |
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... | |
Retrieves an AVR_Grabbable from a given volume (convex collider). The object closest to the given GrabPoint takes priority.
Definition at line 11 of file AVR_GrabbableVolumeFinder.cs.