Help me! ... please!

so I’m making a shooter game that uses the top down camera angle. i want my enemies to chase after the player once in a certain distance away from the player. I know how to and have done this but the result is always SO STUPID LOOKING! because i am using the point at trigger and the velocity trigger to make it always point at and run at the player, it always ends up flipping and rotating while trying to follow me. PLEASE HELP ME I HAVE BEEN WORKING ON THIS FOR HOURS!!!

1 Like
  1. Please provide a link to the game.
  2. Have you looked at my top down chase example?
    Chase Example Topdown - Flowlab Game Creator
1 Like

heres the game link, the enemy im trying to set it up with is the trapicreature shape shooter - Flowlab Game Creator

It looks fine to me, looks like you used my chase example.
Are you still having issues with the enemy chase mechanic?

1 Like

To avoid the enemy hitting walls, you can do this: Raycast forward, if there is a block in front of the enemy, make it rotate 'till it doesn’t see anything in its path. You can make it tell which way to spin by using left, right, and down raycasts. If it has it on all sides, do a diagonal raycast. If there are wall all around it, make it stop moving.

you can use the pathfinding example. it has been really popular lately

here, try this:

Simplest “Pathfinding” / Player Follow / Enemy Chase AI - Examples & Tutorials - Flowlab Community

1 Like