View Single Post
Re: Bot aiming (the /=-3 part)
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: Bot aiming (the /=-3 part) - 10-02-2005

I suppose you are not completely aware of the difference between view angles and body angles. The view angles can be seen as the angles of the head, while the body angles can be seen as the angles of the rest of the body.

When a player looks upwards at let's say +45 degrees, his body should bend back about 15 degrees. Since this value is function of the head's angles, we found that

body angles pitch = - view angles pitch / 3

was a good value. I don't think your problem with the bots aiming at the ground is related to this fact in any way. I would rather look at the waypoint navigation.



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