|
Post by salman on Feb 22, 2017 19:36:26 GMT
Hi, I have multiple duplicates of the EnemyAI. Right now when the AI is alerted, it starts following me which is perfect but they all start to get close to each other and stay in one line when following and attacking me. Is there any way to make them surround me instead while attacking me? Just like in Assassin's Creed or like For Honor.
Please someone help. Thanks. Salman.
|
|
|
Post by Invector on Feb 22, 2017 20:10:55 GMT
I make a quick test here with 10 AI's and they are pretty far from one line... did you have Strafe Sideways checked? Also, I add a NavMesh Obstacle on the Player to avoid the enemies from pushing, this way you can pass through them with a few scratchs
|
|
|
Post by dreadlord on Feb 23, 2017 0:18:30 GMT
Is there a reason why the Navmesh Obstacle is not added via the Char creation Wizard? Without it you get "strange" results in close combat situations.
|
|
|
Post by salman on Feb 23, 2017 7:21:00 GMT
So i add the navmesh on the player or the enemy? Seems like there's already a navmesh on the enemy. How about i just copy its components and add it to the player? EDIT: I just increased the radius of the navmesh agent of all the enemies. Everything working fine now. :D Thanks guys!
|
|
|
Post by Invector on Feb 23, 2017 12:34:54 GMT
The Enemy has a NavMesh Agent for the AI to find Paths and walk around, what I put into the Player is a NavMesh Obstacle so that the AI stop pushing the player's rigibody. dreadlord honestly, it's because I did never tested this before lol
|
|