Tuesday 13 January 2009

Animated traffic cones

Using the technique described in a previous post, I've created a simple traffic cone with a nice flashing light on top.

The flashing light was a 4 frame animation; frame 1 being ON (the flash), and frames 2,3 and 4 being OFF (each one was a fully transparent texture). I wanted these extra 'OFF' frames to extend the time over which the light was 'OFF'.

It looked great initially, but once I'd placed a number of these down in the scene it looked a little odd as they were all flashing in perfect sequence.

As a quick solution for this, I created two identical cones, but varied their animation setup so that they animate at different rates. Here are some screenshots.

No comments:

Post a Comment