VR Interaction Framework
1.0
A vr framework for the Oculus Quest
|
Like a jetpack, but for your hands. More...
Public Member Functions | |
override void | OnTrigger (float triggerValue) |
Amount of Trigger being held down on the grabbed items controller. More... | |
override void | OnButton2 () |
Button 2 is being held down this frame but not last Oculus : Button 2 = "B" if held in Right controller. More... | |
override void | OnGrab (Grabber grabber) |
Item has been grabbed by a Grabber More... | |
void | ChangeGravity (bool gravityOn) |
override void | OnRelease () |
Has been dropped from the Grabber More... | |
override void | OnTriggerUp () |
Fires if trigger was released on this controller this frame. More... | |
![]() | |
virtual void | OnBecomesClosestGrabbable (ControllerHand touchingHand) |
Called if this is the closest grabbable but wasn't in the previous frame More... | |
virtual void | OnNoLongerClosestGrabbable (ControllerHand touchingHand) |
No longer closest grabbable. More... | |
virtual void | OnBecomesClosestRemoteGrabbable (ControllerHand touchingHand) |
Fires if this is the closest remote grabbable but wasn't in the previous frame More... | |
virtual void | OnNoLongerClosestRemoteGrabbable (ControllerHand touchingHand) |
Fires if this was the closest remote grabbable last frame, but not this frame More... | |
virtual void | OnGrip (float gripValue) |
Amount of Grip (0-1). More... | |
virtual void | OnTriggerDown () |
Fires if trigger was pressed down on this controller this frame. More... | |
virtual void | OnButton1 () |
Button 1 is being held down this frame but not last Oculus : Button 1 = "A" if held in Right controller. More... | |
virtual void | OnButton1Down () |
Button 1 Pressed down this frame Oculus : Button 1 = "A" if held in Right controller. More... | |
virtual void | OnButton1Up () |
Button 1 Released this frame Oculus : Button 1 = "A" if held in Right controller. More... | |
virtual void | OnButton2Down () |
Button 2 Pressed down this frame Oculus : Button 2 = "B" if held in Right controller. More... | |
virtual void | OnButton2Up () |
Button 2 Released this frame Oculus : Button 2 = "B" if held in Right controller. More... | |
Public Attributes | |
float | JetForce = 10f |
ParticleSystem | JetFX |
Text | GravityLabel |
Additional Inherited Members | |
![]() | |
Grabbable | grab |
Grabber | thisGrabber |
InputBridge | input |
Like a jetpack, but for your hands.
void BNG.HandJet.ChangeGravity | ( | bool | gravityOn | ) |
|
virtual |
Button 2 is being held down this frame but not last Oculus : Button 2 = "B" if held in Right controller.
"Y" if held in Left Controller
Reimplemented from BNG.GrabbableEvents.
|
virtual |
|
virtual |
Has been dropped from the Grabber
Reimplemented from BNG.GrabbableEvents.
|
virtual |
Amount of Trigger being held down on the grabbed items controller.
Only fired if object is being held.
triggerValue | 0 - 1 Open / Closed |
Reimplemented from BNG.GrabbableEvents.
|
virtual |
Fires if trigger was released on this controller this frame.
Only fired if object is being held.
Reimplemented from BNG.GrabbableEvents.
Text BNG.HandJet.GravityLabel |
float BNG.HandJet.JetForce = 10f |
ParticleSystem BNG.HandJet.JetFX |