Box2D::b2JointDef - Used to construct joints.
# Don't use this class directly, use a subclass.
Joint definitions are used to construct joints.
Default constructor.
The first attached body.
Parameters:
Box2D::b2Body* $bodyA (optional)
Box2D::b2Body*
$bodyA
Returns a Box2D::b2Body*
The second attached body.
Box2D::b2Body* $bodyB (optional)
$bodyB
Set this flag to true if the attached bodies should collide.
bool $collideConnected (optional)
bool
$collideConnected
Returns a bool
The joint type is set automatically for concrete joint types.
Box2D::b2JointType $type (optional)
Box2D::b2JointType
$type
Returns a Box2D::b2JointType
Use this to attach application specific data to your joints.
scalar $userData (optional)
scalar
$userData
Returns a scalar
Box2D
Box2D::b2Joint
Box2D::b2DistanceJointDef
Box2D::b2FrictionJointDef
Box2D::b2GearJointDef
Box2D::b2LineJointDef
Box2D::b2MouseJointDef
Box2D::b2PrismaticJointDef
Box2D::b2PulleyJointDef
Box2D::b2RevoluteJointDef
Box2D::b2WeldJointDef
See "BUGS" in Box2D
See "AUTHORS" in Box2D
See "COPYRIGHT & LICENSE" in Box2D
To install Box2D, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Box2D
CPAN shell
perl -MCPAN -e shell install Box2D
For more information on module installation, please visit the detailed CPAN module installation guide.