b2JointDef Class
Joint definitions are used to construct joints.
Constructor
b2JointDef
(
-
[type=b2Joint.e_unknownJoint]
Parameters:
-
[type=b2Joint.e_unknownJoint]
Int= optional
Item Index
Properties
Properties
bodyA
B2Body | Null
public
The first attached body.
Default: null
bodyB
B2Body | Null
public
The second attached body.
Default: null
collideConnected
Boolean
public
Set this flag to true if the attached bodies should collide.
Default: false
type
Int
public
The joint type is set automatically for native joint types.
userData
| Null
public
Application specific data.
NOTE: Using the addPhysicsJS framework m_userData is managed for you extending either a createjs.container or createjs.movieClip class.
Default: null