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."
|