VR Interaction Framework
1.0
A vr framework for the Oculus Quest
|
This collider will Damage a Damageable object on impact More...
Public Attributes | |
float | Damage = 25f |
How much damage to apply to the Damageable object More... | |
float | MinForce = 0.1f |
Minimum Amount of force necessary to do damage. More... | |
float | LastRelativeVelocity = 0 |
Our previous frame's last relative velocity value More... | |
float | LastDamageForce = 0 |
This collider will Damage a Damageable object on impact
float BNG.DamageCollider.Damage = 25f |
How much damage to apply to the Damageable object
float BNG.DamageCollider.LastDamageForce = 0 |
float BNG.DamageCollider.LastRelativeVelocity = 0 |
Our previous frame's last relative velocity value
float BNG.DamageCollider.MinForce = 0.1f |
Minimum Amount of force necessary to do damage.
Expressed as relativeVelocity.magnitude