View Full Version : HELP, Constant rotation
okfir 06-17-2008, 05:35 AM Hi,
I am struggling with this issue for a few days
I am trying to make a constant rotation using expresso but my problem is that I wanna stop the rotation at a specific time. Up to now I used time node attached to the object rotation and between them a math node set to multiply to control the speed of the rotation but when I animate the math node and set input2 to 0 and this way to stop the animation the object rotates the other way until it stops.
Is there any other good way to do it? maybe some kind of a rotation vector?
Please dont suggest the timeline and cycle operation cause I prefer not to use them.
Thanks in advance.
|
|
Increment the rotation value instead of multiplying it and just animate the increment value slowly to zero to stop the rotation.
Cheers
Björn
Per-Anders
06-17-2008, 06:16 AM
On the objects node find the "On" parameter input, then connect the boolean value to that so that it's only on when you want it to apply the rotation.
okfir
06-17-2008, 07:09 AM
Thanks for your replys
Srek, I did not quite understood what you suggested, can you please describe it a bit better or maybe add an example?
Per-Anders, I wanna make a nice "Ease In" stop, the way you suggested will have a stop on one frame.
I added an example of the problem
Object.c4d (http://www.filefactory.com/file/0934fd)
Try this. Just animate the UserdataRotate value to speed it up or slow it down. The memory node is used to check to see if a frame has advanced and thus prevents rotations from occurring on editor refreshes.
File (http://www.mvpny.com/XpressoRotateMV1.zip)
The disadvantage of this method is the rotation won't necessarily reset by itself, so you will need to add some more xpresso to reset it at frame zero or whatever.
Check my website (http://www.bonkers.de/forums/forums.html) for an example.
Cheers
Björn
Thanks for the hint with the memory node Michael, i modified the original file according to that so now it resets to a given angel on frame zero and only rotates if there is a frame progress.
Cheers
Björn
okfir
06-17-2008, 08:49 AM
Try this. Just animate the UserdataRotate value to speed it up or slow it down. The memory node is used to check to see if a frame has advanced and thus prevents rotations from occurring on editor refreshes.
File (http://www.mvpny.com/XpressoRotateMV1.zip)
The disadvantage of this method is the rotation won't necessarily reset by itself, so you will need to add some more xpresso to reset it at frame zero or whatever.
Thanks, MJV, Great solution
I guess it will take some time to understand what you did there but this is great. I also added a reset function so everything works fine now.
Thanks Srek, I will go over your solution as well, it is always good to have more examples to learn from. THE MORE THE MARRIER :)
By the way, what does the memory node do? I didnt quite get it from the help file.
Once again, thanks everyone for your help
The memory node stores information. In this specific case it stores the information at what animation time the expression was evaluated last. If there is no difference (the expression was evaluated due to a refresh of the scene not because the playhead was moved) it will stop the expression from doing anything.
Cheers
Björn
C.Smith
06-17-2008, 03:16 PM
Hi,
I am struggling with this issue for a few days
I am trying to make a constant rotation using expresso but my problem is that I wanna stop the rotation at a specific time.
If you download CSTools (In my sig). you can use CS_MoveNull. Make sure the 'infinite' switch is off. Then set the frame start, duration of the constant move and set the velocity curve the way you like.
tcastudios
06-17-2008, 09:30 PM
@Srek. What's this ".dms" extension when dloading scenes from your site?
It opens fine in Cinema dragging it into the OM, but...?
Cheers
Lennart
vid2k2
06-17-2008, 09:40 PM
http://www.fileinfo.net/extension/dms
I don't use any DMS files on my site, might be your browser
Cheers
Björn
AdamT
06-18-2008, 03:44 PM
Also, if you have MoGraph you can use the Time Effector in Object mode for this. Very easy that way.
CGTalk Moderation
06-18-2008, 03:44 PM
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.
vBulletin v3.0.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.