I'm looking for suggestions or pointers on moving a character around a map.
What I want is to have a character go forward/back/strafe left/strafe right with WASD and have him rotate using the mouse with restrictions on the up and down angles. I want it to be a 3rd person view.
Are there any jME classes to aid in this, something 'off the shelf'? If not then what would be a good way to accomplish it? At the moment I am filtering through the flagrush tutorials, devouring the bits I want, but the movement in flagrush isn't what I want. I'm about to head into it and modify it to what I want but I wondered if there were any easy ways to do it or tricks that people might have for me before I get too lost in code.
At the moment I have a chase camera from the flagrush tutorials that I was thinking about modifying and getting angles from so I could orientate the character, then I was going to use trig (once I find the maths functions) to update the position of the character depending on which button is pressed.
Is this a good way to do it?
Thanks
Neilos
UTSL! In the jme source, look at jmetest/input/TestThirdPersonController.java
I thought there would be something similar to that, I'll check it out.
Thanks
Neilos