Today, we begin and finish implementing a motion integrator for the game. We also talk/rant about the importance of having a symplectic integrator, why using a higher order integrators is a bad idea if it's non symplectic, and defeat the debate by implementing a 4th-order symplectic integrator (which fun fact, is the same type used in particle accelerator simulations, so I dare say it'll probably be good enough for the game)
Starting code: https://github.com/BennyQBD/3DGamePro...
Finished code: https://github.com/BennyQBD/3DGamePro...
Line-by-line code change breakdown: https://github.com/BennyQBD/3DGamePro...
Base code: https://github.com/BennyQBD/CGFX5
Discord: / discord
If you'd like early access to videos, special discord roles, or just to support the creation of these videos. consider becoming a patron on Patreon: / thebennybox
A very special thanks to my most devoted supporters for making this video possible:
Thundzz (Yacine)
Andreas Nordh
ExemptAK
zatrik
matthew motsinger
oleg shulzhenko