This page looks best with JavaScript enabled

Getting Physical - Adding Physics to the Fractal Generator

 ·   ·  ☕ 1 min read

Last time we built a fractal using recursion in Unity. Let’s expand upon that and do something terrible: we’ll add physics to it! This is a bad idea, and quite frankly, it goes horribly wrong. We create a few extra infinite loops and get to crash Unity a number of times. It’s a lot of fun.

By the end of this video we will have a working Fractal generator that can attach physics components to one another and frankly, create a horrible mess.

This implementation isn’t really correct, but it does create interesting results and we don’t care about the implementation! Results are all that matter. Huzzah!

…wait. That’s not right. Somebody is going to have to maintain this monstrosity… Should probably make it work right at some point.

Or we could leave it for the other maintenance programmer.

Get the source on GitHub:

Watch the first episode here:

Sam Wronski
Sam Wronski
Maker of things, currently helping build cloud things @ Google. World of Zero is a personal project disconnected from my professional work. Lets make something awesome together!