com.badlogic.gdx.physics.box2d
Class JointDef

java.lang.Object
  extended by com.badlogic.gdx.physics.box2d.JointDef
Direct Known Subclasses:
DistanceJointDef, FrictionJointDef, GearJointDef, MouseJointDef, PrismaticJointDef, PulleyJointDef, RevoluteJointDef, RopeJointDef, WeldJointDef, WheelJointDef

public class JointDef
extends Object


Nested Class Summary
static class JointDef.JointType
           
 
Field Summary
 Body bodyA
          The first attached body.
 Body bodyB
          The second attached body
 boolean collideConnected
          Set this flag to true if the attached bodies should collide.
 JointDef.JointType type
          The joint type is set automatically for concrete joint types.
 
Constructor Summary
JointDef()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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.

Constructor Detail

JointDef

public JointDef()


Copyright © 2013. All Rights Reserved.