
-----------------------------------
do_pete
Wed Jan 11, 2006 10:35 am

AI Help
-----------------------------------
This is my final project. I need to know how to make it so that the AI changes it's angle so that it ends up facing the player. I'm pretty sure this involves trigonometry or something else that I haven't learned about since I haven't taken grade 10 math yet. If anyone could give me a formula or something along those lines that would be great. Also tell me what you think of the game so far and any improvements I can make.

-----------------------------------
MysticVegeta
Wed Jan 11, 2006 10:39 am


-----------------------------------
I dont think there is any other way you can change the angles without using trig ratios/inverses. But if you haven'tcompleted grade 10 math (like me) you could always learn them on your own :) Google.com is your friend.

-----------------------------------
Shyfire
Wed Jan 11, 2006 1:49 pm


-----------------------------------
ya do_pete trig is really hard have fun trying to learn :shock: 
btw 
when am i gonna get ur submission for darksight :?:

-----------------------------------
MysticVegeta
Wed Jan 11, 2006 2:36 pm


-----------------------------------
Also, There are lots of program in the source code section dealing with the rotation of objects that use trig to do. Also, there are always programs submitted by catalyst before...

-----------------------------------
do_pete
Fri Jan 13, 2006 11:11 am


-----------------------------------
I figures it out ... sort of... I'm going to use
arctand ((x1 - x2) / (y1 - y2)) It still has some bugs in it but I think I can figure it out
