View Single Post
# 3 14-04-2004 , 01:52 AM
kbrown's Avatar
Moderator
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
Let's say your object is named propeller and you want to rotate it around the Z axis. Then the expression could be as easy as:

propeller.rz = frame;

If you want to control the speed, you could add a custom attribute to your object (let's say speed) and change the expression to:

propeller.rz = frame * propeller.speed;

This way you can key the speed attribute and control the speed of the rotation.


Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!