[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Float precision



OsKaR wrote:
If you try to move forward and left or right it would made a perfect circle isn't?

Accumulation of errors will cause this to happen, even
when there aren't any bugs, because you're moving in
discrete steps.

The error can be reduced by taking smaller steps. Or
by using a more sophisticated numerical integration
technique, although that's probably overkill for a
tank game.

--
Greg