Skip to main content

b2DestructionListener

b2DestructionListener

Box2D.Dynamics

Joints and fixtures are destroyed when their associated body is destroyed. Implement this listener so that you may nullify references to these joints and shapes.

Inheritance: System.Object

Constructors

b2DestructionListener()

b2DestructionListener()()

Methods

SayGoodbye(b2Joint)

SayGoodbye(b2Joint)(Box2D.Dynamics.Joints.b2Joint joint)
Parameters:
joint (Box2D.Dynamics.Joints.b2Joint)
Example

SayGoodbye(b2Fixture)

SayGoodbye(b2Fixture)(Box2D.Dynamics.b2Fixture fixture)
Parameters:
fixture (Box2D.Dynamics.b2Fixture)
Example