| 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 void | |
| public float | |
| public float | |
| public Vector2 | |
| 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 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 | |
| localAxisA | back to summary |
|---|---|
| private final Vector2 localAxisA | |
| tmp | back to summary |
|---|---|
| private final float[] tmp | |
| PrismaticJoint | back to summary |
|---|---|
| public PrismaticJoint(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. | |
| 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() | |
| getLowerLimit | back to summary |
|---|---|
| public float getLowerLimit() Get the lower joint limit, usually in meters. | |
| getMaxMotorForce | back to summary |
|---|---|
| public float getMaxMotorForce() Get the max motor force, usually in N. | |
| getMotorForce | back to summary |
|---|---|
| public float getMotorForce(float invDt) Get the current motor force given the inverse time step, usually in N. | |
| getMotorSpeed | back to summary |
|---|---|
| public float getMotorSpeed() Get the motor speed, usually in meters per second. | |
| getReferenceAngle | back to summary |
|---|---|
| public float getReferenceAngle() Get the reference angle. | |
| getUpperLimit | back to summary |
|---|---|
| public float getUpperLimit() Get the upper joint limit, usually in meters. | |
| 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) | |
| 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) | |
| jniGetLowerLimit | back to summary |
|---|---|
| private native float jniGetLowerLimit(long addr) | |
| jniGetMaxMotorForce | back to summary |
|---|---|
| private native float jniGetMaxMotorForce(long addr) | |
| jniGetMotorForce | back to summary |
|---|---|
| private native float jniGetMotorForce(long addr, float invDt) | |
| jniGetMotorSpeed | back to summary |
|---|---|
| private native float jniGetMotorSpeed(long addr) | |
| 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) | |
| jniSetMaxMotorForce | back to summary |
|---|---|
| private native void jniSetMaxMotorForce(long addr, float force) | |
| 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, usually in meters. | |
| setMaxMotorForce | back to summary |
|---|---|
| public void setMaxMotorForce(float force) Set the maximum motor force, usually in N. | |
| setMotorSpeed | back to summary |
|---|---|
| public void setMotorSpeed(float speed) Set the motor speed, usually in meters per second. | |