AI enemy slowing down as it reaches player

The idea is having an enemy AI patrol the area walking, and then run towards the player once detected. The game ends when the enemy touches the player. Right now, the enemy running speed is greater than the player speed.

The issue (in the video) is that the enemy will slow down once it gets close (but not reach) the player. So if the player stays in movement, they won’t be caught.

Any ideas to fix or work around? Thanks!

Video_1730669627.wmv (23.0 MB)

hi, you can check one of the following settings in character movement component

2 Likes

Thank you so much!! BTW, setting the braking distance to 0 works but unchecking the box you mentioned brings the issue back up for some reason.

Got it fixed though so thanks again! Cheers

1 Like

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