stts/src/main/java/com/stovokor/jme/PortedBetterCharacterControl.java
/**
     * Updates the local coordinate system from the localForward and localUp vectors, adapts
     * localForward, sets localForwardRotation quaternion to local z-forward rotation.
     */
Updates the local coordinate system from the localForward and localUp vectors, adapts
localForward, sets localForwardRotation quaternion to local z-forward rotation.
Updates the local coordinate system from the localForward and localUp vectors adapts localForward sets localForwardRotation quaternion to local z - forward rotation .
protected void updateLocalCoordinateSystem() {
        calculateNewForward(localForwardRotation, localForward, localUp);
        localLeft.set(localUp).crossLocal(localForward);
        rigidBody.setPhysicsRotation(localForwardRotation);
        updateLocalViewDirection();
    }
protected void updateLocalCoordinateSystem ( ) { calculateNewForward ( localForwardRotation , localForward , localUp ) ; localLeft . set ( localUp ) . crossLocal ( localForward ) ; rigidBody . setPhysicsRotation ( localForwardRotation ) ; updateLocalViewDirection ( ) ; }
Updates the local coordinate system from the localForward and localUp vectors, adapts
 localForward, sets localForwardRotation quaternion to local z-forward rotation.
Updates the local coordinate system from the localForward and localUp vectors adapts localForward sets localForwardRotation quaternion to local z - forward rotation .
// gravity vector has possibly changed, calculate new world forward (UNIT_Z)