View Single Post
Re: Having a bot face one way, while moving another
Old
  (#3)
Maleficus
Member
 
Maleficus's Avatar
 
Status: Offline
Posts: 1,054
Join Date: May 2004
Location: Planet Earth
Default Re: Having a bot face one way, while moving another - 20-05-2004

Quote:
Originally Posted by botman
Just set the facing direction to one angle and set the movement direction based on a different angle (or vector). Using a movement angle would make things easy since you could get the forwardmove and sidemove values just by using sin() and cos() on the movement angle.

botman
Thx for the quick reply!

However, one problem, my 3D math skills suck.

How would I get those forwardmove, sidemove values?


Dum Spiro Spero


  
Reply With Quote