com.badlogic.gdx.physics.box2d
Class JointDef
java.lang.Object
com.badlogic.gdx.physics.box2d.JointDef
- Direct Known Subclasses:
- DistanceJointDef, FrictionJointDef, GearJointDef, MouseJointDef, PrismaticJointDef, PulleyJointDef, RevoluteJointDef, RopeJointDef, WeldJointDef, WheelJointDef
public class JointDef
- extends Object
type
public JointDef.JointType type
- The joint type is set automatically for concrete joint types.
bodyA
public Body bodyA
- The first attached body.
bodyB
public Body bodyB
- The second attached body
collideConnected
public boolean collideConnected
- Set this flag to true if the attached bodies should collide.
JointDef
public JointDef()
Copyright © 2013. All Rights Reserved.