PointEntity() in BMax

BlitzMax Forums/BlitzMax Beginners Area/PointEntity() in BMax

Hi,

How can i do something like PointEntity(enemy,target) in BMax?

I need a direction for the enemy to move towards the player.

Thx

use atan or atan2

i'm sure theres some homing missile code about you could look at in the code archives