org.jbox2d.dynamics.joints
Class RevoluteJointDef

java.lang.Object
  extended by org.jbox2d.dynamics.joints.JointDef
      extended by org.jbox2d.dynamics.joints.RevoluteJointDef

public class RevoluteJointDef
extends JointDef


Field Summary
 boolean enableLimit
           
 boolean enableMotor
           
 Vec2 localAnchor1
           
 Vec2 localAnchor2
           
 float lowerAngle
           
 float maxMotorTorque
           
 float motorSpeed
           
 float referenceAngle
           
 float upperAngle
           
 
Fields inherited from class org.jbox2d.dynamics.joints.JointDef
body1, body2, collideConnected, type, userData
 
Constructor Summary
RevoluteJointDef()
           
 
Method Summary
 void initialize(Body b1, Body b2, Vec2 anchor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

localAnchor1

public Vec2 localAnchor1

localAnchor2

public Vec2 localAnchor2

referenceAngle

public float referenceAngle

enableLimit

public boolean enableLimit

lowerAngle

public float lowerAngle

upperAngle

public float upperAngle

enableMotor

public boolean enableMotor

motorSpeed

public float motorSpeed

maxMotorTorque

public float maxMotorTorque
Constructor Detail

RevoluteJointDef

public RevoluteJointDef()
Method Detail

initialize

public void initialize(Body b1,
                       Body b2,
                       Vec2 anchor)