I managed to get AC running in my scene using the First Person Movement method but for some reason only the move to forward, backward, left, right works, but when I move the cursor, it does not turn the camera lookat.
CursorHorizontal and Vertical is defined.
Any ideas?
Comments
If you're trying out a new player prefab, know that you can temporarily use Tin Pot in your scene to test out your movement, as he's also configured to work in First Person. You can find him in /Assets/AdventureCreator/Demo/Resources.
freeAim = Vector2.zero;
This tells AC to disable free-aiming while the cursor is locked. If you replace it with:
freeAim = new Vector2 (InputGetAxis ("CursorHorizontal"), 0f);
Then it will instead be constrained to horizontal movement only.