View Single Post
Re: Turning bot's head?
Old
  (#2)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Turning bot's head? - 17-03-2004

Are you calling RunPlayerMove() each frame ? RunPlayerMove() is not only used to "move" the bot, it's in charge of ALL the model animations of a fakeclient (including turning head).

You must pass the view angle into this function, and the function will adapt itself the body angles given the horizontal and vertical velocities you give to your bot. It should not prevent you to fix the body angles yourself, though.


P.S. wow, you registered from berkeley.edu ? Is this an AI thesis project for school you are doing with this bot or something ?



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote