@Override
    public void update(float tpf) {
        super.update(tpf);
        rigidBody.getPhysicsLocation(location);
        //rotation has been set through viewDirection
        applyPhysicsTransform(location, rotation);
    }
Update this control. Invoked once per frame during the logical-state
update, provided the control is added to a scene graph. Do not invoke
directly from user code.

@param tpf the time interval between frames (in seconds, &ge;0)
jme3-jbullet/src/main/java/com/jme3/bullet/control/BetterCharacterControl.java