can't figure out how to stop the enemy on the edges of a platform

Hi people! =D

I started to mess around with the steering actuator (navigation mesh and ‘path following’) and I already have a problem here xD

I just wanted to make the enemy to stop trying to chase the player when he reach the edges of a platform, like, stop shaking, just waiting and following the player by the edge

Any ideas of how to solve this? :spin:

I attached a example (use the space bar to move the player)

as always, sorry my bad english ^^’

Attachments

enemy_problem.blend (458 KB)

Even if it’s the same mesh, patches have to be connected by faces in order for the chaser to follow from one to the other.

first, thanks for reply Goran! =D

about what you said, that’s exactly the problem :o

I don’t wanted that the enemy just jump the platform and keep chasing the player, the idea was that the enemy stops on the edge and just keep watching and following where the player are going

I attached a idea of solution, using ‘seek’ instead of ‘path following’ and a invisible wall, it’s kinda ‘wrong’, but did almost what I wanted xD

thanks again for your attention :smiley:

Attachments

enemy_problem_kinda_solved.blend (470 KB)

Actually, your original example worked exactly the same for me; The enemy doesn’t jump down.

yes, you are right xD

but in the first example, the enemy are shaking on the edge, right? he’s still trying to chase the player

well, in the second example, he’s also trying to chase the player (he keeps forcing his own self against the wall), but visually he is not shaking, that’s what I wanted to do in the first example

sorry if I’m making this hard to understand xD