Class RevoluteJoint2D

All Implemented Interfaces:
Behavior, Renderable, Closeable, AutoCloseable

public class RevoluteJoint2D extends Joint2D
  • Constructor Details

    • RevoluteJoint2D

      public RevoluteJoint2D()
  • Method Details

    • createJoint

      public org.jbox2d.dynamics.joints.JointDef createJoint()
      Specified by:
      createJoint in class Joint2D
    • jointAngle

      public double jointAngle()
    • jointSpeed

      public double jointSpeed()
    • lowerAngle

      public double lowerAngle()
    • setLowerAngle

      public RevoluteJoint2D setLowerAngle(double lowerAngle)
    • upperAngle

      public double upperAngle()
    • setUpperAngle

      public RevoluteJoint2D setUpperAngle(double upperAngle)
    • maxMotorTorque

      public double maxMotorTorque()
    • setMaxMotorTorque

      public RevoluteJoint2D setMaxMotorTorque(double maxMotorTorque)
    • motorSpeed

      public double motorSpeed()
    • setMotorSpeed

      public RevoluteJoint2D setMotorSpeed(double motorSpeed)
    • enableLimit

      public boolean enableLimit()
    • setEnableLimit

      public RevoluteJoint2D setEnableLimit(boolean enableLimit)
    • enableMotor

      public boolean enableMotor()
    • setEnableMotor

      public RevoluteJoint2D setEnableMotor(boolean enableMotor)