JointDef class
class JointDef { JointDef() : type = JointType.UNKNOWN, userData = null, bodyA = null, bodyB = null, collideConnected = false { } /** * The joint type is set automatically for concrete joint types. */ int type; /** * Use this to attach application specific data to your joints. */ dynamic userData; /** * The first attached body. */ Body bodyA; /** * The second attached body. */ Body bodyB; /** * Set this flag to true if the attached bodies should collide. */ bool collideConnected; }
Subclasses
ConstantVolumeJointDef, DistanceJointDef, FrictionJointDef, RevoluteJointDef
Constructors
new JointDef() #
JointDef() : type = JointType.UNKNOWN, userData = null, bodyA = null, bodyB = null, collideConnected = false { }