32991d3e37ed3efd32f5466d1f3ae280e916b4ac
The physics integrator is real scuffed. Nothing has mass, and no forces are applied. Instead, objects affect each other's acceleration. It acts functionally like a force accumulator where everything has a mass of 1. Under this model, it must be cleared each frame so that it can be re-accumulated during the next physics calculation cycle. This bug was spotted because of anomolous behavior of the velocity pointer. Nearly stationary boids would have a rather large (especially after the coefficient reduction earlier) velocity. I noticed this earlier when building the debug tool and thought it was an error in the calculations. There might still be bugs, I still need to test, but that particular one seems to have been a position integrator error.
Description
Languages
Rust
76.5%
HTML
12.4%
Makefile
9.7%
Dockerfile
1.4%