View Single Post
Re: Having a bot face one way, while moving another
Old
  (#2)
botman
Super Moderator
 
Status: Offline
Posts: 280
Join Date: Jan 2004
Location: Plano, TX
Default Re: Having a bot face one way, while moving another - 20-05-2004

There is the body/facing angles and then there is the movement direction (forwardmove, sidemove, etc.).

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
  
Reply With Quote