Virtual bullet doesn't line up with real bullets

Fragment of a discussion from Talk:Main Page
Jump to navigation Jump to 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.

Rednaxela00:28, 4 October 2011