Using SIN and COS I got a virtual ship on points to rotate as well as moving it forward at any angle.
I want to be able to make my AI ship turn to the right angle to goto the target; with out having to loop my program to (in the background): check each angle, then go all the way forward to see if it collides with the target. That would take up much of my CPU time.
Know of a better way of doing it? By the way, I am using radians, not degrees.



LinkBack URL
About LinkBacks



