Virtual bullet doesn't line up with real bullets

From RoboWiki
Fragment of a discussion from Talk:Main Page
Jump to: navigation, search

Well... can't really tell without more information what's wrong, but my first guess about what's wrong, is that perhaps you're not accounting for how within a tick, firing happens before gun turning does. The angle you fire at when you call setFire() is the angle resulting from the prior tick's setTurnGun() type call.

Rednaxela22:28, 3 October 2011
Personal tools