Tracking a Target

Blitz3D Forums/Blitz3D Programming/Tracking a Target

NTense(Posted 2003) [#1]
I'm trying to get my "Bots" to chase their targets over a terrain. The thing is, I cant just use point entity, because I want the bots to utilize the same control system/characteristics as the real players. So I pass messages to the control system to bank left or right. Here-in lies the problem. How to determine which direction my bot should turn. I thought I could use TFormVector, but it isn't working so well for me. Basicly, I just need to know if the bot's target is to the right, left, or behind the bot on an x,z grid. Any ideas?


NTense(Posted 2003) [#2]
Ahh.. Nevermind.. Figured out another way to do it.