3 ms·
That sounds brilliant. If you want to write more about how that worked, I would like to read it.
by MartinCron 13y ago
That sounds brilliant. If you want to write more about how that worked, I would like to read it.
- Jare 13y agoThis was for a basketball game that will remain unnamed; I was not around when the game was released, and it's been many years since then, so I don't know if this stayed or not. I wrote a 99% deterministic physics system for the ball trajectory during shots and passes, which gave the ball an incredibly natural behaviour. When a shot was taken, the system simulated up until the ball went below the rim's height, so it knew if the shot would hit or miss, and where was the best position to go for the rebound. Once in a while the prediction would fail. Determinism is freaking hard, but luckily the game didn't rely on it for networking or anything else. While debugging I also made the experiment of feeding this into the announcers and color commentary. The result was funny and disturbing in equal parts, definitely not a good idea.