Absent83
Member
Hallo!
Please help to combine character controls PlayerInput (camera) with Ai Agent (movement):
1.
I need to make FirstPersonView character to follow some path or to move with AI Agent (i.e. NavMeshAgent) and simultaneously rotate the character camera by UnityInput (i.e. mouse).
I can do this by moving character on MovingPlatform, but in this case I have no any animations (bob/spring…).
2.
And in the second variant I need the same, but when character is moving camera is looking forward, and when character stops, player can control rotation by UnityInput.
Please help to combine character controls PlayerInput (camera) with Ai Agent (movement):
1.
I need to make FirstPersonView character to follow some path or to move with AI Agent (i.e. NavMeshAgent) and simultaneously rotate the character camera by UnityInput (i.e. mouse).
I can do this by moving character on MovingPlatform, but in this case I have no any animations (bob/spring…).
2.
And in the second variant I need the same, but when character is moving camera is looking forward, and when character stops, player can control rotation by UnityInput.