VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
virtual void AVR.Phys.AVR_BasicGrabProvider.Update ( )
inlineprotectedvirtual

Reimplemented in AVR.Phys.AVR_OffsetGrabProvider, and AVR.Phys.AVR_AdvancedOffsetGrabProvider.

Definition at line 146 of file AVR_BasicGrabProvider.cs.

146  {
147 #if AVR_NET
148  if (IsOnline && !IsOwner) return;
149 #endif
150  // Make Grab
152  makeGrab();
153  }
154  // Make Release
156  makeRelease();
157  }
158  }
AVR_ControllerInputManager.BoolEvent grabEvent
Event that commences a grab. (Such as ONTRIGGERDOWN)
AVR_ControllerInputManager inputManager
the AVR_ControllerInputManager assigned to this controller. Returns null if no inputmanager is assign...
virtual void makeGrab()
Performs a grab on whichever object the GrabbableFinder returns. Is called when the respective "grabE...
AVR_ControllerInputManager.BoolEvent releaseEvent
Event that ends a grab. (Such as ONTRIGGERUP)
virtual void makeRelease()
Ends a grab. Is called when the respective "releaseEvent" is true.
bool getEventStatus(BoolEvent type)
Returns the status of a given BoolEvent