| Modifier and Type | Field and Description |
|---|---|
| private final Vector2 | |
| private final Vector2 | |
| private final Vector2 | |
| private final float[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public float | |
| public float | |
| public Vector2 | |
| public Vector2 | |
| public Vector2 | |
| public float | |
| public float | |
| public float | getMotorTorque(float invDt)
Get the current motor torque given the inverse time step, usually in N-m. |
| public float | |
| public float | |
| public boolean | |
| private native void | |
| private native float | |
| private native float | |
| private native void | |
| private native void | |
| private native void | |
| private native float | |
| private native float | |
| private native float | |
| private native float | |
| private native float | |
| private native boolean | |
| private native void | |
| private native void | |
| private native void | |
| private native void | |
| public void | |
| public void | |
| public void | |
| public void |
| localAnchorA | back to summary |
|---|---|
| private final Vector2 localAnchorA | |
| localAnchorB | back to summary |
|---|---|
| private final Vector2 localAnchorB | |
| localAxisA | back to summary |
|---|---|
| private final Vector2 localAxisA | |
| tmp | back to summary |
|---|---|
| private final float[] tmp | |
| WheelJoint | back to summary |
|---|---|
| public WheelJoint(World world, long addr) | |
| enableMotor | back to summary |
|---|---|
| public void enableMotor(boolean flag) Enable/disable the joint motor. | |
| getJointSpeed | back to summary |
|---|---|
| public float getJointSpeed() Get the current joint translation speed, usually in meters per second. | |
| getJointTranslation | back to summary |
|---|---|
| public float getJointTranslation() Get the current joint translation, usually in meters. | |
| getLocalAnchorA | back to summary |
|---|---|
| public Vector2 getLocalAnchorA() | |
| getLocalAnchorB | back to summary |
|---|---|
| public Vector2 getLocalAnchorB() | |
| getLocalAxisA | back to summary |
|---|---|
| public Vector2 getLocalAxisA() | |
| getMaxMotorTorque | back to summary |
|---|---|
| public float getMaxMotorTorque() | |
| getMotorSpeed | back to summary |
|---|---|
| public float getMotorSpeed() Get the motor speed, usually in radians per second. | |
| getMotorTorque | back to summary |
|---|---|
| public float getMotorTorque(float invDt) Get the current motor torque given the inverse time step, usually in N-m. | |
| getSpringDampingRatio | back to summary |
|---|---|
| public float getSpringDampingRatio() | |
| getSpringFrequencyHz | back to summary |
|---|---|
| public float getSpringFrequencyHz() | |
| isMotorEnabled | back to summary |
|---|---|
| public boolean isMotorEnabled() Is the joint motor enabled? | |
| jniEnableMotor | back to summary |
|---|---|
| private native void jniEnableMotor(long addr, boolean flag) | |
| jniGetJointSpeed | back to summary |
|---|---|
| private native float jniGetJointSpeed(long addr) | |
| jniGetJointTranslation | back to summary |
|---|---|
| private native float jniGetJointTranslation(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) | |
| jniGetLocalAxisA | back to summary |
|---|---|
| private native void jniGetLocalAxisA(long addr, float[] anchor) | |
| 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) | |
| jniGetSpringDampingRatio | back to summary |
|---|---|
| private native float jniGetSpringDampingRatio(long addr) | |
| jniGetSpringFrequencyHz | back to summary |
|---|---|
| private native float jniGetSpringFrequencyHz(long addr) | |
| jniIsMotorEnabled | back to summary |
|---|---|
| private native boolean jniIsMotorEnabled(long addr) | |
| jniSetMaxMotorTorque | back to summary |
|---|---|
| private native void jniSetMaxMotorTorque(long addr, float torque) | |
| jniSetMotorSpeed | back to summary |
|---|---|
| private native void jniSetMotorSpeed(long addr, float speed) | |
| jniSetSpringDampingRatio | back to summary |
|---|---|
| private native void jniSetSpringDampingRatio(long addr, float ratio) | |
| jniSetSpringFrequencyHz | back to summary |
|---|---|
| private native void jniSetSpringFrequencyHz(long addr, float hz) | |
| setMaxMotorTorque | back to summary |
|---|---|
| public void setMaxMotorTorque(float torque) Set/Get the maximum motor force, usually in N-m. | |
| setMotorSpeed | back to summary |
|---|---|
| public void setMotorSpeed(float speed) Set the motor speed, usually in radians per second. | |
| setSpringDampingRatio | back to summary |
|---|---|
| public void setSpringDampingRatio(float ratio) Set/Get the spring damping ratio | |
| setSpringFrequencyHz | back to summary |
|---|---|
| public void setSpringFrequencyHz(float hz) Set/Get the spring frequency in hertz. Setting the frequency to zero disables the spring. | |