Class b2JointDef
The definition shared by every joint: the type, the two bodies, and whether they collide with each other.
public abstract class b2JointDef
- Inheritance
-
b2JointDef
- Derived
- Inherited Members
- Extension Methods
Remarks
Reference: Box2D/Dynamics/Joints/b2Joint.h.
Properties
BodyA
The first body (pybox2d's bodyA).
public b2Body? BodyA { get; set; }
Property Value
BodyB
The second body (pybox2d's bodyB).
public b2Body? BodyB { get; set; }
Property Value
CollideConnected
Whether the two bodies may collide (pybox2d's collideConnected).
public bool CollideConnected { get; set; }
Property Value
UserData
The joint's user data.
public object? UserData { get; set; }