How to create infinitely varied animation with your Unity characters.
A very powerful feature in the Unity Editor is the Blend Tree. This is an extension to an Animation Controller, which allows you to ‘blend’ the joint movements of multiple animations and control the ratio of blending with one or more parameters.
Winning two DMA awards back in 2009, I thought I’d give a quick insight into how the animation effects in this piece were achieved.
I worked with Scott Bedford on this site for Carlson Marketing, for the Lurpak ‘Breakfast’ campaign. I created all the animation prototypes for the various effects used throughout the site, some of which can be seen here. I’m most proud of the crumbs animation and the code-generated interactive steam effect – as you’ll see in the video below.
I’ve been asked a few times how to create effects that require multiple instances of the Flash Player on a page to remain ‘in sync’, even with user interaction. Reading and writing to cookies frequently is inefficient and resource heavy. Also, when you have more than 2 SWFs, deciding which SWF updates who becomes tricky – especially if someone decides to change or remove an instance, or an instance which you picked as ‘master’ is not loaded, for some reason.
So, I came up with this solution, using LocalConnection with a twist, which works pretty well. But, if anyone has a better method, drop it in a comment below 🙂