- Home /
Figured it out
AIThirdPersonController help
I'm trying to use the Ethan AIThirdPersonController standard asset in my 3d game, but it gives me several different errors saying that the target I assigned it needs a Nav Mesh agent or something similar. How do I fix this?
Could you send a picture? Have you tried adding the Nav$$anonymous$$eshAgent?
I tried adding a Nav$$anonymous$$esh Agent to target and AI and both. Same errors. Currently have it on both.
In the Editor, go to Window>Navigation. Click on "Bake", wait for all your scene to become blue, and then do a test.
A navmesh is unity's way of telling the AI to lock to the terrain or object. For example, I used this in Deer AI where I baked a navmesh to the the terrain. If the terrain is steep, you know can limit where the Deer can go. https://docs.unity3d.com/$$anonymous$$anual/nav-BuildingNav$$anonymous$$esh.html
Follow this Question
Related Questions
ML Agent Moving But Not Rotating 0 Answers
WayPoints navMeshAgents help 0 Answers
Efficient Rotation with Different Rotation Rates on Each Axis 0 Answers
ML Agents: Why does heuristic control ignore masks? 0 Answers
MLAgents error: SubprocessEnvManager had workers that didn't signal shutdown 0 Answers