org.jbox2d.dynamics.joints
Class JointDef

java.lang.Object
  extended by org.jbox2d.dynamics.joints.JointDef
Direct Known Subclasses:
ConstantVolumeJointDef, DistanceJointDef, FrictionJointDef, GearJointDef, MouseJointDef, PrismaticJointDef, PulleyJointDef, RevoluteJointDef, RopeJointDef, WeldJointDef, WheelJointDef

public class JointDef
extends Object

Joint definitions are used to construct joints.

Author:
Daniel Murphy

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.
 JointType type
          The joint type is set automatically for concrete joint types.
 Object userData
          Use this to attach application specific data to your joints.
 
Constructor Summary
JointDef()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

public JointType type
The joint type is set automatically for concrete joint types.


userData

public Object userData
Use this to attach application specific data to your joints.


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.