|
Post by mostlyhuman on Jun 16, 2019 3:07:34 GMT
When the AI is engaging in melee combat it is doing all its own strafing and rotating etc, how can I break this down into smaller pieces where I can control how much or if an AI strafes or rotates among the other steps of the attack process? Thanks in advance!
|
|
|
Post by Invector on Jun 17, 2019 19:10:50 GMT
The AI enters the strafe mode based on a distance to combat (combat mode = strafing around the target) and the looks to the target while strafing but you can choose if he will continue to be looking while attacking or choose a delay time to rotate while or after the attack is finish
|
|
|
Post by mostlyhuman on Jun 17, 2019 19:34:38 GMT
The AI enters the strafe mode based on a distance to combat (combat mode = strafing around the target) and the looks to the target while strafing but you can choose if he will continue to be looking while attacking or choose a delay time to rotate while or after the attack is finish Great, and where are those options located?
|
|
|
Post by Invector on Jun 19, 2019 14:09:33 GMT
you can find the combat distance in the AI Combat Settings inspector and the option to rotate to target while attacking is directly in the animation state, you can set the "Allow Movement At" the value is from 0 to 1 which is the time of your animation
|
|
noir
Full vMember
Posts: 57
|
Post by noir on Dec 21, 2019 21:55:17 GMT
For combat distance, what would you recommend for a dragon? When my dragon attacks, he doesn't target the player. He's always too close when he attacks and when I set the distance to a greater amount, it does the same thing. I'm using Unka, the dragon. If you are using him, can you show me what settings you have?
|
|