Package | Box2D.Dynamics.Joints |
Class | public class b2JointDef |
Subclasses | b2DistanceJointDef, b2GearJointDef, b2LineJointDef, b2MouseJointDef, b2PrismaticJointDef, b2PulleyJointDef, b2RevoluteJointDef |
Source | b2JointDef.as |
See also
Property | Defined by | ||
---|---|---|---|
body1 : b2Body
The first attached body.
| b2JointDef | ||
body2 : b2Body
The second attached body.
| b2JointDef | ||
collideConnected : Boolean
Set this flag to true if the attached bodies should collide.
| b2JointDef | ||
type : int
The joint type is set automatically for concrete joint types.
| b2JointDef | ||
userData : *
Use this to attach application specific data to your joints.
| b2JointDef |
Method | Defined by | ||
---|---|---|---|
b2JointDef |
body1 | property |
public var body1:b2Body
The first attached body.
body2 | property |
public var body2:b2Body
The second attached body.
collideConnected | property |
public var collideConnected:Boolean
Set this flag to true if the attached bodies should collide.
type | property |
public var type:int
The joint type is set automatically for concrete joint types.
userData | property |
public var userData:*
Use this to attach application specific data to your joints.
b2JointDef | () | constructor |
public function b2JointDef()