Search
Week of Physics
- Liam Healey
- Sep 24, 2021
- 1 min read
Updated: May 22, 2024
Voidsinger
This week I worked on reworking the physics system to be more accurate and fixed several bugs with the building and temperature systems.
Physics Rework
The math that was being used to calculate how forces impact linear and angular velocity. I did a bunch of research to find more accurate equations and stumbled across the Newton Euler equations. These however were for 3D but the game was 2D. It took a bunch more google searching and some help from Compton to find the 2D versions.
Heat Fixes
I also reworked the heating system so that it would have a constant tick rate that was much slower than the games tick rate so the heat would distribute consistently
Comments