| Modifier and Type | Field and Description |
|---|---|
| private final Vector2 | |
| private final Vector2 | |
| private final float[] | tmp
Get the first ground anchor.
|
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public float | |
| public float | |
| public Vector2 | |
| public Vector2 | |
| public float | |
| public float | |
| public float | |
| public float | |
| public float | |
| public float | |
| public boolean | |
| public boolean | |
| private native void | |
| private native void | |
| private native float | |
| private native float | |
| private native void | |
| private native void | |
| private native float | |
| private native float | |
| private native float | |
| private native float | |
| private native float | |
| private native float | |
| private native boolean | |
| private native boolean | |
| private native void | |
| private native void | |
| private native void | |
| public void | |
| public void | |
| public void |
| localAnchorA | back to summary |
|---|---|
| private final Vector2 localAnchorA | |
| localAnchorB | back to summary |
|---|---|
| private final Vector2 localAnchorB | |
| tmp | back to summary |
|---|---|
| private final float[] tmp Hides com. Get the first ground anchor. | |
| RevoluteJoint | back to summary |
|---|---|
| public RevoluteJoint(World world, long addr) | |
| enableLimit | back to summary |
|---|---|
| public void enableLimit(boolean flag) Enable/disable the joint limit. | |
| enableMotor | back to summary |
|---|---|
| public void enableMotor(boolean flag) Enable/disable the joint motor. | |
| getJointAngle | back to summary |
|---|---|
| public float getJointAngle() Get the current joint angle in radians. | |
| getJointSpeed | back to summary |
|---|---|
| public float getJointSpeed() Get the current joint angle speed in radians per second. | |
| getLocalAnchorA | back to summary |
|---|---|
| public Vector2 getLocalAnchorA() | |
| getLocalAnchorB | back to summary |
|---|---|
| public Vector2 getLocalAnchorB() | |
| getLowerLimit | back to summary |
|---|---|
| public float getLowerLimit() Get the lower joint limit in radians. | |
| getMaxMotorTorque | back to summary |
|---|---|
| public float getMaxMotorTorque() | |
| getMotorSpeed | back to summary |
|---|---|
| public float getMotorSpeed() Get the motor speed in radians per second. | |
| getMotorTorque | back to summary |
|---|---|
| public float getMotorTorque(float invDt) Get the current motor torque, usually in N-m. | |
| getReferenceAngle | back to summary |
|---|---|
| public float getReferenceAngle() Get the current motor torque, usually in N-m. | |
| getUpperLimit | back to summary |
|---|---|
| public float getUpperLimit() Get the upper joint limit in radians. | |
| isLimitEnabled | back to summary |
|---|---|
| public boolean isLimitEnabled() Is the joint limit enabled? | |
| isMotorEnabled | back to summary |
|---|---|
| public boolean isMotorEnabled() Is the joint motor enabled? | |
| jniEnableLimit | back to summary |
|---|---|
| private native void jniEnableLimit(long addr, boolean flag) | |
| jniEnableMotor | back to summary |
|---|---|
| private native void jniEnableMotor(long addr, boolean flag) | |
| jniGetJointAngle | back to summary |
|---|---|
| private native float jniGetJointAngle(long addr) | |
| jniGetJointSpeed | back to summary |
|---|---|
| private native float jniGetJointSpeed(long addr) | |
| jniGetLocalAnchorA | back to summary |
|---|---|
| private native void jniGetLocalAnchorA(long addr, float[] anchor) | |
| jniGetLocalAnchorB | back to summary |
|---|---|
| private native void jniGetLocalAnchorB(long addr, float[] anchor) | |
| jniGetLowerLimit | back to summary |
|---|---|
| private native float jniGetLowerLimit(long addr) | |
| jniGetMaxMotorTorque | back to summary |
|---|---|
| private native float jniGetMaxMotorTorque(long addr) | |
| jniGetMotorSpeed | back to summary |
|---|---|
| private native float jniGetMotorSpeed(long addr) | |
| jniGetMotorTorque | back to summary |
|---|---|
| private native float jniGetMotorTorque(long addr, float invDt) | |
| jniGetReferenceAngle | back to summary |
|---|---|
| private native float jniGetReferenceAngle(long addr) | |
| jniGetUpperLimit | back to summary |
|---|---|
| private native float jniGetUpperLimit(long addr) | |
| jniIsLimitEnabled | back to summary |
|---|---|
| private native boolean jniIsLimitEnabled(long addr) | |
| jniIsMotorEnabled | back to summary |
|---|---|
| private native boolean jniIsMotorEnabled(long addr) | |
| jniSetLimits | back to summary |
|---|---|
| private native void jniSetLimits(long addr, float lower, float upper) | |
| jniSetMaxMotorTorque | back to summary |
|---|---|
| private native void jniSetMaxMotorTorque(long addr, float torque) | |
| jniSetMotorSpeed | back to summary |
|---|---|
| private native void jniSetMotorSpeed(long addr, float speed) | |
| setLimits | back to summary |
|---|---|
| public void setLimits(float lower, float upper) Set the joint limits in radians. | |
| setMaxMotorTorque | back to summary |
|---|---|
| public void setMaxMotorTorque(float torque) Set the maximum motor torque, usually in N-m. | |
| setMotorSpeed | back to summary |
|---|---|
| public void setMotorSpeed(float speed) Set the motor speed in radians per second. | |