All of my coding is in the above attached images.
My AI Green Car is suppose to always be after the Players car and collect items in order to damage the other car and continue its attack on the player following collecting the item.
AI Green Car is not moving at times on it’s own.
AI Green Car is side to side moving in item locations before they appear trying to collect them and if the player collects the item before the AI it remains there and if the AI collects it will move towards the player but again this varies. very high repro.
AI Green Car
When the Player attacks the AI Green Car it stops moving at times.
The NavMesh varies at random also.
How can I fix this these issues?