PDA

View Full Version : Animating Object Axis


Tiziano
01-31-2007, 04:15 PM
I'm trying to tilt an object 30 degrees on its axis through 5 frames. Then I want to move the axis and tilt the object on the new axis position.

Searched here and got a hit for Per's Virtual Axis Expression. This seems promising but it's old enough that I can not find it on Per's site.

So I tried putting the object in a null and animating both the object and null seperately. No luck.

Any suggestions? I'm in v9.6, Mac UB.

mikeh64
01-31-2007, 04:19 PM
put it in 2 nulls

null
>null
>>object

one null gets one rotation animation, the other null gets the other one

Tiziano
01-31-2007, 04:22 PM
Clever!

At least we have both ends of the intelligence spectrum covered in MSP :D

Per-Anders
01-31-2007, 08:45 PM
Although you don't need it for this now my virtual axis is still there on my site, just use the search to find it (the download is still working here at least...).

Tiziano
01-31-2007, 10:16 PM
Thanks Per,
It took me awhile as I couldn't get to a page that had a search function. I knew I'd done it before as I sent someone else there awhile ago. Anyway, found it.

Tiziano
02-01-2007, 03:25 PM
Well, after a fruitless night messing with the expression, I give up.

Which port do I put what into?

Per-Anders
02-02-2007, 12:39 AM
Not sure I follow, there's no inputs, it is the virtual axis, i.e. you put the null called "Virtual Axis" as a child of the object you want to animate the axis of. The downside is that animating in local space wont quite work, so what you have to then do is use a little xpresso to drive the "Global Position" of the Virtual axis with another object "Global Position", that's as simple as just connecting the global position ports up from A (the driver) to B (the virtual axis). Then you can animate the driver object and it will animate the cubes own axis. The solution really is far from perfect because of this, but it can be forced to work.

Tiziano
02-02-2007, 12:42 AM
Got it now. Thanks Per.

CGTalk Moderation
02-02-2007, 12:42 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.