I have a ray sensor set up to an enemy AI in my game, and whenever it sees the player it switches its state to where it always follows the player via a steering actuator. But, what I want to try to do is to make it so that the instant the enemy ray stops hitting the player it creates a way-point (or an object) for the enemy to move to instead of the player, and delete the way-point once the enemy reaches it.
Is there anyway to do this?
ps- I don’t really know python that well, but I will use it if it’s easier.
pps- Does anyone know how to make a ray track an object (such as the player or way-point)?
Ask if you need anymore details