public Vector2f getGravity() { jniGetGravity(addr, tmpGravity); gravity.x = tmpGravity[0]; gravity.y = tmpGravity[1]; return gravity; }
public Vector2f getAnchorB() { jniGetAnchorB(addr, tmp); anchorB.x = tmp[0]; anchorB.y = tmp[1]; return anchorB; }
public Vector2f getReactionForce(float inv_dt) { jniGetReactionForce(addr, inv_dt, tmp); reactionForce.x = tmp[0]; reactionForce.y = tmp[1]; return reactionForce; }
public Vector2f getAnchorA() { jniGetAnchorA(addr, tmp); anchorA.x = tmp[0]; anchorA.y = tmp[1]; return anchorA; }