VR Interaction Framework v2.0
Loading...
Searching...
No Matches
BNG.JointBreaker Class Reference
Inheritance diagram for BNG.JointBreaker:

Public Member Functions

void BreakJoint ()
 

Public Attributes

float BreakDistance = 0.25f
 
float JointDistance
 
bool DestroyJointOnBreak = true
 Should we destroy the attached joint if BreakDistance is reached? Set to false if you only wish to execture an event.
 
GrabberEvent OnBreakEvent
 

Member Function Documentation

◆ BreakJoint()

void BNG.JointBreaker.BreakJoint ( )

Member Data Documentation

◆ BreakDistance

float BNG.JointBreaker.BreakDistance = 0.25f

◆ DestroyJointOnBreak

bool BNG.JointBreaker.DestroyJointOnBreak = true

Should we destroy the attached joint if BreakDistance is reached? Set to false if you only wish to execture an event.

◆ JointDistance

float BNG.JointBreaker.JointDistance

◆ OnBreakEvent

GrabberEvent BNG.JointBreaker.OnBreakEvent

The documentation for this class was generated from the following file: