VR Interaction Framework
1.0
A vr framework for the Oculus Quest
|
An example bow item. More...
Public Member Functions | |
void | GrabArrow (Arrow arrow) |
void | ReleaseArrow () |
Public Attributes | |
float | BowForce = 50f |
How much force to apply to the arrow, multiplied by how far back the bow is pulled More... | |
bool | CanGrabArrowFromKnock = true |
If true, the player can grab a new arrow by holding the trigger down near the knock More... | |
Transform | ArrowRest |
Transform | ArrowKnock |
bool | CanGrabArrow = false |
Grabber | ClosestGrabber |
Arrow | GrabbedArrow |
Grabber | arrowGrabber |
Vector3 | LastValidPosition |
float | MaxStringDistance = 0.3f |
float | StringDistance = 0 |
Text | PercentageUI |
Properties | |
float | DrawPercent = 0 [get] |
An example bow item.
Configurable force and damage.
void BNG.Bow.GrabArrow | ( | Arrow | arrow | ) |
void BNG.Bow.ReleaseArrow | ( | ) |
Grabber BNG.Bow.arrowGrabber |
Transform BNG.Bow.ArrowKnock |
Transform BNG.Bow.ArrowRest |
float BNG.Bow.BowForce = 50f |
How much force to apply to the arrow, multiplied by how far back the bow is pulled
bool BNG.Bow.CanGrabArrow = false |
bool BNG.Bow.CanGrabArrowFromKnock = true |
If true, the player can grab a new arrow by holding the trigger down near the knock
Grabber BNG.Bow.ClosestGrabber |
Arrow BNG.Bow.GrabbedArrow |
Vector3 BNG.Bow.LastValidPosition |
float BNG.Bow.MaxStringDistance = 0.3f |
Text BNG.Bow.PercentageUI |
float BNG.Bow.StringDistance = 0 |
|
get |