|
Post by rbm on Nov 8, 2016 15:49:04 GMT
Hi I asked you about zombie AI (in unity3d forum) and you said just replace animations!
It worked but I have a problem.
when the enemy detects me , he comes to me in a defense mode ! I mean he walks slowly and Warily and start to walking around me and then attack me.
But zombies after detecting something , they Run toward targets and attack them fast!
so , How can I change this behavior (walking around the target) ?
sorry for my bad english!
|
|
|
Post by Invector on Nov 8, 2016 15:51:50 GMT
Just play around the settings on the Enemy Inspector, you can set the max speed to walk/run, you can enable/disable the strafe (walk around you), you can disable the defense and roll options, or increase.
There is several options to create different types of behaviours
|
|
|
Post by angelsm on Nov 16, 2016 12:12:34 GMT
Hi I asked you about zombie AI (in unity3d forum) and you said just replace animations! It worked but I have a problem. when the enemy detects me , he comes to me in a defense mode ! I mean he walks slowly and Warily and start to walking around me and then attack me. But zombies after detecting something , they Run toward targets and attack them fast! so , How can I change this behavior (walking around the target) ? sorry for my bad english! I'm working in a zombie AI too. Can you tell me how to replace the idle, walking and attack animation? GuardarGuardarGuardarGuardar
|
|
|
Post by Chronicman on Nov 16, 2016 13:16:19 GMT
Hi I asked you about zombie AI (in unity3d forum) and you said just replace animations! It worked but I have a problem. when the enemy detects me , he comes to me in a defense mode ! I mean he walks slowly and Warily and start to walking around me and then attack me. But zombies after detecting something , they Run toward targets and attack them fast! so , How can I change this behavior (walking around the target) ? sorry for my bad english! I'm working in a zombie AI too. Can you tell me how to replace the idle, walking and attack animation? GuardarGuardarGuardarGuardarHere is a tutorial:
|
|
|
Post by angelsm on Nov 16, 2016 19:14:35 GMT
I've replaced idle and walk animations with zombie idle and zombie walk animations from mixamo in base layer animator of my enemy. I've created a waypoint area but the enemy begins to walk 2 seconds and stops. I don't know why he doesn't walk between waypoints.
|
|
|
Post by Chronicman on Nov 16, 2016 19:20:33 GMT
Are your animation set to loop ? Because they are driven by root motion they would stop if the animations are not looping.
|
|
|
Post by angelsm on Nov 16, 2016 19:51:17 GMT
Are your animation set to loop ? Because they are driven by root motion they would stop if the animations are not looping. Yes, they are not looping. I've changed them and it works. Thanks! GuardarGuardar
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Dec 4, 2016 3:05:26 GMT
My game isn't involving zombies, but I know in the Invector demos there is AI who follow you, sort of like zombies, how do you do that?
|
|
|
Post by vitaho on Nov 5, 2017 0:54:55 GMT
How can I increase these speeds AI?
|
|