/** Returns true if currently moving. */ public boolean isMoving() { return !velocityMovement.isStopped() && !velocity.equals(0, 0, 0); }
/** Returns true if currently moving, ignoring the y movement. */ public boolean isMovingIgnoreY() { return !velocityMovement.isStopped() && (velocity.x != 0 || velocity.z != 0); }
/** Returns true if the z axis is currently turning. */ public boolean isTurningZ() { return !velocityAngleZ.isStopped(); }