public class JointDef
- Object
- JointDef
Known subtypesConstantVolumeJointDef, DistanceJointDef, FrictionJointDef, GearJointDef, MouseJointDef, PrismaticJointDef, PulleyJointDef, RevoluteJointDef, RopeJointDef, WeldJointDef, WheelJointDef
Joint definitions are used to construct joints.
Fields
public JointType type | The joint type is set automatically for concrete joint types. |
public Object userData | Use this to attach application specific data to your joints. |
public Body bodyA | The first attached body. |
public Body bodyB | The second attached body. |
public boolean collideConnected | Set this flag to true if the attached bodies should collide. |
Constructors
public JointDef() |
Inherited methods
Field details
type
public JointType typeThe joint type is set automatically for concrete joint types.
userData
public Object userDataUse this to attach application specific data to your joints.
bodyA
public Body bodyAThe first attached body.
bodyB
public Body bodyBThe second attached body.
collideConnected
public boolean collideConnectedSet this flag to true if the attached bodies should collide.
Constructor details
JointDef
public JointDef()