DevLog Update – Animation Problem, GIFs

The last two days have been pretty slow with regards to productivity. Lots of “one step forward, two steps back” moments.

The one problem that plagued me for hours was that my animations would only move the colliders of the objects, and nothing else. Like this:

Unity_Animation_Collider_only

As you can see, for everything except the stairs, only the collider (the green outline) is moving, but the rest of the object remains behind.

For hours, I struggled over this, and couldn’t seem to figure out what was wrong. Eventually, I put the question to twitter, and David Laskey pointed out that it might be due to having the geometry set as static. It turns out he was right! Thanks to him, I did not destroy my keyboard out of frustration.

I was aware of the static setting for game objects, but up until this issue came up, I thought it applied only in the context of lightmapping. I didn’t realized it affected animation as well.

I think what threw me off also is that previously when I animated, I was using Unity’s primitive shapes, which are by default not set to static. However, this time I was using objects created with ProBuilder, and those are by default set to static, so that threw me off a bit.

Anyway, got the animation working eventually, here it is in action:

Platform_Rising

I’m continuing to work on redesigning the first stage of the game, refining the architecture, and polishing bits here and there.

Here’s one of the red doors:

Red_Door_Opening

And this is a clip of a bridge that forms itself in front of you (Bastion inspired), plus a gravity rotation:

bride_forming

32 L-Systems

I spent the last several weeks exploring 3D l-systems, and you can see the results of this study in the new project, 32 L-systems.

Using Cinder, I wrote a program that could generate 3D l-system fractals given a set of initial rules and parameters. The tricky part of the program was getting the transformation from local coordinates to world coordinates to work correctly. It took me several days of frustration before I realized I just had to use matrix transformations (It’s been almost 4 years since I’ve done any matrix multiplication).

The complete set of videos showing all the fractals being generated can be foundĀ here.

Source code

New Music Video

Just finished my latest animation, a music video for Woo-Man and the Banana’s “If You See Something, Say Something”. Each frame was drawn by hand and then digitally colored. From start to finish, the video took me about two months.

These guys are a great band based in Chicago. If you like what you hear in the video, you can check out more of their music here: http://www.myspace.com/abigbomb