|
Post by drenyn on Apr 9, 2020 17:50:57 GMT
Hi All,
I'm currently working on creating an animal using the Generic AI tutorial on Youtube from Invector using the FSM AI. The only issue I've ran into, is that the NavMeshAgent center is based on the hind legs (the root of the gameobject) instead of being on it's front legs.
Anyone had this issue know how to re-center?
Thanks
|
|
|
Post by Invector on Apr 13, 2020 18:06:52 GMT
Did you try moving the bone & mesh object inside the controller? I'm not sure if this will cause any issues but it may work
|
|
|
Post by drenyn on Apr 15, 2020 4:19:47 GMT
Did you try moving the bone & mesh object inside the controller? I'm not sure if this will cause any issues but it may work Yeah but after hitting play for some reason it reverts them right back to where they were.
|
|
|
Post by Invector on Apr 15, 2020 15:53:58 GMT
Did you try moving the bone & mesh object inside the controller? I'm not sure if this will cause any issues but it may work Yeah but after hitting play for some reason it reverts them right back to where they were. Make sense if your animations are set to bake the root motion, you could try to uncheck this options I guess
|
|
|
Post by drenyn on Apr 23, 2020 17:08:36 GMT
I removed the "bake the root motion" but still have the same issue. I wasn't sure if you had been able to setup a 4 legged model and ran into this issue or not. The issue i'm running into is that the AI keeps running at the player even being right in front of him, no matter if I change the attack difference or not.
|
|
|
Post by Invector on May 3, 2020 16:06:48 GMT
Check you MinDistance, perhaps is set to a lower value like 0.1 and your capsule collider radius is bigger than that
|
|