|
Post by shadex on Dec 10, 2017 18:16:12 GMT
So my enemy is rotating to quick when attacked, and i can't remember if there was a setting to slow it (Attack Rotations isn't working)
Basicly if i attack an enemy from behind, the (from back) animation players correctly, but the enemy immediately faces the character. Essentially he's turning on spot when hit, and would rather the enemy have to turn to face the player. How would i make it so that the enemy has to rotate to face the player, and to control the speed.
|
|
|
Post by Invector on Dec 11, 2017 13:08:40 GMT
Make sure your animation has the tag CustomAction, this will lock the character rotation while playing the animation.
|
|
|
Post by shadex on Dec 11, 2017 21:28:33 GMT
Make sure your animation has the tag CustomAction, this will lock the character rotation while playing the animation. I tried that, and it doesn't seem to be working. It seems the enemy rotates on hit BEFORE the reaction is played. So essentially i punch the vBot in the back, he instantly faces me, then the reaction plays. The reaction plays the correct animation, however, since the AI is facing me, he's moving in the opposite direction. And i appreciate the help!
|
|
|
Post by Invector on Dec 12, 2017 13:48:04 GMT
try reducing the Strafe Rotation Speed value (default is 5)
|
|