hypergravity
hypergravity copied to clipboard
Optimize performance
Apart from optimizing the physics calculations, try not to check for disabling gravity mode for each frame.
New frame is calculated every 1/60 s. It means that the program sleeps most of the time. It could calculate physics in the meantime, between re-rendering the view.