ThirdPersonHandler-no rotation, but the keys still have effects

I started with the basic TestThirdPersonController.

For some reason the rotate keys don't rotate the cube, left key but not right key cause a rotational flicker in the box.



Okay weird but still weirder, the back key causes the cube to move back but also flicker(rotational) so instead of going straight back, it is more of a drunken swagger backwards.



Oh, theres more, forward key while pressing right key makes the box go super fast forward, if i do the left key(again while forward key is pressed) the box stops(no flickering).



And it is the reverse for the backwards key, left key makes the box go super fast backward(still with a drunken swagger), right key makes the box stops(no flickering).



These are the methods i modified. All property changes.

conflicting property changes? :?

private void setupChaseCamera() {
        Vector3f targetOffset = new Vector3f();
        targetOffset.y = ((BoundingBox) m_character.getWorldBound()).yExtent * 1.5f;
        chaser = new ChaseCamera(cam, m_character);
        HashMap<String, Object> chaserProps = new HashMap<String, Object>();
        chaserProps.put(ChaseCamera.PROP_STAYBEHINDTARGET,false);
        chaserProps.put(ChaseCamera.PROP_ENABLESPRING,false);
        chaserProps.put(ChaseCamera.PROP_STAYBEHINDTARGET,false);
        chaserProps.put(ChaseCamera.PROP_MAINTAINAZIMUTH,true);
        chaserProps.put(ChaseCamera.PROP_STAYBEHINDTARGET,false);
        chaserProps.put(ThirdPersonMouseLook.PROP_MOUSEBUTTON_FOR_LOOKING,2);
        chaserProps.put(ThirdPersonMouseLook.PROP_ROTATETARGET,false);
        chaserProps.put(ThirdPersonMouseLook.PROP_MOUSEYMULT,0.5f);
        chaserProps.put(ThirdPersonMouseLook.PROP_MOUSEXMULT,0.9f);
        chaserProps.put(ThirdPersonMouseLook.PROP_MOUSEROLLMULT,9.0f);
        chaser.updateProperties(chaserProps);
        chaser.setTargetOffset(targetOffset);
        chaser.setForceAzimuthUpdate(true);
    }



    private void setupInput() {
        HashMap<String, Object> handlerProps = new HashMap<String, Object>();
        handlerProps.put(ThirdPersonHandler.PROP_DOGRADUAL, "true");
        handlerProps.put(ThirdPersonHandler.PROP_TURNSPEED, ""+(1.0f * FastMath.PI));
        handlerProps.put(ThirdPersonHandler.PROP_LOCKBACKWARDS, "true");
        handlerProps.put(ThirdPersonHandler.PROP_CAMERAALIGNEDMOVE, "false");
        handlerProps.put(ThirdPersonHandler.PROP_ROTATEONLY, "true");
        handlerProps.put(ThirdPersonHandler.PROP_STRAFETARGETALIGN, "true");
        input = new ThirdPersonHandler(m_character, cam, handlerProps);
        input.setActionSpeed(100f);
    }


Has anyone else had any problem with the ThirdPersonHandler?

Yeah I've noticed all the strange behavior you mentioned.

Haven't looked into it yet.