 | IKasJointEventsListenerOnKASJointBreak Method |
Triggers when a connection on the object is broken due to too strong force applied.
Namespace:
KASAPIv2
Assembly:
KAS-API-v2 (in KAS-API-v2.dll) Version: KAS API v2
Syntaxvoid OnKASJointBreak(
GameObject hostObj,
float breakForce
)
Request Example
View SourceParameters
- hostObj
- Type: UnityEngineGameObject
The game object that owns the joint. - breakForce
- Type: SystemSingle
The actual force that has been applied to break the joint.
Remarks
This event is expected to be called from a Unity physics method. Not all actions can be done
from this kind of handlers.
See Also