AI Actor Continues Rotating after Character Movement has been Disabled

When I enact my Alien Dying code and I Deactivate the Character Movement component, this does not seem to stop the alien from continuing to rotate towards the player after death. This is obviously not optimal. I have tried the Stop Movement node attaching it to the AI Controller and still nothing. I tried the Stop Movement Immediately as well.

Is there a way to disable rotation of the AI Controlled component other than what is mentioned above?

I just figured it out. In case someone else has this problem, my solution was to add a check to see if the alien was dead on the Failed execution pin of the Move To Actor node. This effectively stops the cycle of retrying to move to the player when the action has failed, which it of course has done since we disabled movement.

Excellent job figuring out the solution to your problem!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms