The other day at the litter box: mofu has just finished, she's standing there looking pleased with herself, and her back paws are sunk up to the ankles in the plastic rim. Sadly, that wasn't a one-off. So we went looking properly.
Physics would have been too expensive
The obvious idea was a physics engine. It would have fixed this, but at a cost in every single frame, and in battery too. On top of that, mofu's moves are designed by hand. If she slides off the armchair, it should look that way because we wanted it to, not because some force went sideways.
Instead, every piece of furniture has fixed spots: she can sit here, lie there, sleep over there. Where exactly those spots are, we measure ahead of time on the Blender model. The app just has to look them up.
The test rig
To find all the places where things went wrong, we built a test rig. It has mofu play through every furniture scene once, with her real skin, and every 0.2 seconds it notes where she is. Each of those moments is about 350 points on her fur. For each point it checks whether it's inside the furniture, and how deep.

From 3 cm deep, a point counts as stuck. If more than 8 in 1,000 points are that deep in one moment, the scene fails. The limit is deliberately a little forgiving, or every tail that brushes over an edge would set it off.
The first run was sobering: 101 of 349 scenes failed.
The litter box
The worst one was the litter box, and the reason was embarrassingly simple. It was too small. mofu just didn't fit, so her paws, her belly and sometimes her head ended up inside the rim and the hood.

The new box is quite a bit bigger, and the hood only covers the back. Now she stands in the sand, the way she should.
Furniture in cat size
It didn't stop at the litter box. We built a lot of furniture in Blender without mofu standing next to it, and it shows: a four-poster bed she barely fits into, a bathtub the size of a teacup. These days, the size of a piece depends on what mofu does with it. If she's supposed to sleep in it, she has to fit.

For that, we know her measurements in every pose. If a spot is too small, she won't lie down there in the first place, she'll just look at it. That was the case for 30 pieces. They're being made bigger right now, until the test rig has nothing left to complain about.
What's next
Of the 349 scenes, exactly one still fails: the wall steps, where her tail brushes the wall. So we don't find ourselves back at 101 in a few weeks, the test rig now runs on its own whenever anyone touches a piece of furniture, mofu's body or a scene.
To finish, a few of her favorite spots, the way the test rig sees them. Blue is mofu, gray is the furniture.


























Read more: How mofu is built, How mofu's world is built and Costumes that belong to her fur.