Class OnJointBreak2D
Called when a joint attached to the same game object broke.
Inherited Members
Namespace: Ludiq.Bolt
Syntax
[UnitCategory("Events/Physics 2D")]
public sealed class OnJointBreak2D : GameObjectEventUnit<Joint2D>, ISerializationCallbackReceiver, IEventHandlerUnit, IEventUnit, IBehaviourUnit, IUnit, IGraphElementWithDebugData, IBehaviourGraphElement, IGraphElementWithData, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged, IGraphEventHandler<Joint2D>
Properties
breakForce
The force that needs to be applied for the joint that broke to break.
Declaration
[DoNotSerialize]
public ValueOutput breakForce { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
breakTorque
The torque that needs to be applied for the joint that broke to break.
Declaration
[DoNotSerialize]
public ValueOutput breakTorque { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
connectedBody
The 2D rigidbody to which the other end of the joint is attached (ie, the object without the joint component).
Declaration
[DoNotSerialize]
public ValueOutput connectedBody { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
eventProxyType
Declaration
public override Type eventProxyType { get; }
Property Value
Type | Description |
---|---|
Type |
Overrides
Ludiq.Bolt.GameObjectEventUnit<Joint2D>.eventProxyType
joint
The joint that broke.
Declaration
[DoNotSerialize]
public ValueOutput joint { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
reactionForce
The reaction force of the joint that broke.
Declaration
[DoNotSerialize]
public ValueOutput reactionForce { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
reactionTorque
The reaction torque of the joint that broke.
Declaration
[DoNotSerialize]
public ValueOutput reactionTorque { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
Methods
AssignArguments(Flow, Joint2D)
Declaration
protected override void AssignArguments(Flow flow, Joint2D joint)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow | |
Joint2D | joint |
Overrides
Ludiq.Bolt.EventHandlerUnit<Joint2D>.AssignArguments(Ludiq.Bolt.Flow, Joint2D)
Definition()
Declaration
protected override void Definition()
Overrides
Ludiq.Bolt.GameObjectEventUnit<Joint2D>.Definition()