Hey,
Im doing a 3rd person horror game as my degree work and now im trying to get my characters animations to work with the controls. This video i captured will give a idea of the controls im going to have in the game:
Example video of my characters controls
Controls in a nutshell:
- Character can’t face the camera, camera always rotates with the player.
- mouse can move freely, character rotates when going far enough in x axis.
- I have fps input controller. Because i want sideways movement in keyboard to be strafing not rotating.
So my questions are:
- What kinda code should i use to apply my animations to walk, strafe(left,right), and walk backwards?
- What kind of code should i use to apply animation to the character when she starts to rotate around herself (mouse looking)?