IllustratorsLeak
marctenbosch
marctenbosch

patreon


Update February 2023

Hi, this month I started by doing all the more boring things involved in releasing a 4D Toys Update, such as making and uploading iOS builds, writing blog posts, etc... I only have to click a couple buttons to release the update, but I needed a break.

So for a couple weeks I fixed all the remaining small issues with the collision detection code, which still had like a dozen small but important items on it. I thought it would feel nice to get done with it.

To be honest, I thought I understood collision detection pretty well when I started the game, but I still had a lot to learn. That made it extra "interesting" because the 4D adds other difficulties on top of that, obviously.

Initially the Miegakure collision detection was all based on a grid. Then because of 4D Toys I wrote other routines such as sphere/tetrahedral mesh collision, and I imported them into Miegakure, which allowed complex objects to be present in Miegakure. Then at the end of last year I imported the improvements I had made to the collision in Miegakure back again to 4D Toys, ahah. In the process I found and fixed a pretty important bug, so that was a nice bonus.

Comments

Fascinating insight. I have no idea what goes into collision detection, but it’s clear to me now that it’s not trivial. Also cool to see how 4DToys and Miegakure help refine each other. Much appreciate all your hard work!


More Creators