follow an attack pattern

Blitz3D Forums/Blitz3D Beginners Area/follow an attack pattern

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Here what i proposed to do with my camera system. It's in 3d, but princible remains the same.

Have a very small image, make it invisble if you wish, or just use an X and Y. Get this to follow the waypoints exactly. Now, get the actual enemies to move to the location of the point. Every time the point moves, read adjust the angle and move the enemy towards the point.

Move the enemy slightly slower, not much, than the point. The enemy should look as if it's moving smoothly.