A new version of Cineversity has been launched. This legacy site and its tutorials will remain accessible for a limited transition period

Visit the New Cineversity
   
 
Matching rotational speeds
Posted: 20 March 2015 02:46 PM   [ Ignore ]  
Total Posts:  20
Joined  2010-04-18

I want to animate a rotating object that starts off slowly and reaches its maximum velocity and keeps rotating for an extended period of time.  My setup is 2 Null objects controlling a third object. The first Null object is the control object that slowly accelerates both objects and the second Null object is the control object for repeating the constant speed. How can I seamlessly match the rotational speed of the two Null objects or is my setup incorrect?

Thank you

Profile
 
 
Posted: 20 March 2015 04:05 PM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi marcpurcell,

My first question would address of course the requirement of the two Null Objects: Would it be doable with one as well.

However, I guess you have a reason for this.

How about this, which seems to be the simplest set up.

Create the Null Rig, Parent/Child

Animate the Child with a repetition after the initial Key Frames. Time Line (F-Curve Mode), Function>Track After>Continue After. Start from the first frame.

Set up two keyframes for the parent shorter than the initial acceleration time, but lose. Do this in the opposite way, so the rotating object would stand still.
Go To Timeline (F-Curve Mode), F-Curve> Make Snapshot> Create Snapshot 1 (then Show Snapshot one. This helps to guide you, on one side of the snapshot it will be too fast and slower on the other side. See example.

From there you have to pull the last keyframe to the left and adjust the Handle so it is horizontal.

This might be counterintuitive first, but perhaps the easiest way—as you work only with one keyframe, and not try to sync two.

====

Animation is the change over time, and with that being said, the degree [º] from one frame to the next is all there is for a one axis rotation. This needs to be matched, if one stops and another takes over. BUT the key is to have keep these areas with the same interpolation. Ease in and ease out will mostlikely not overlap perfectly for the wanted equilibrium.

====

My suggestion would be based on one Null Object (the blue one in the example) and there to use just the Continue After. As in the example above, the step-ness of the curve shows the rotation-speed. In the image you see an example that the “bow” of the acceleration is below the straight line. If the bow is above the line - it would start out too fast and lower than. Just adjust the handle of the second keyframe and you see the results.

Let me know if you like to share more about your target, and perhaps we find something else…

All the best

File Attachments
CV2_r16_drs_15_ANac_01.c4d.zip  (File Size: 33KB - Downloads: 142)
 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 20 March 2015 06:57 PM   [ Ignore ]   [ # 2 ]  
Total Posts:  20
Joined  2010-04-18

Thank you very much. The second (blue example) is a great solution. A small follow up question. I’m recording two keyframes 1) with a 0 rotation value, and 2)the second with a value for P. The Continue After command only seems to work if I set the Before field to Off. Am I doing something wrong? Also, I don’t see the tangent line as I do in your example.

Thank you again

Profile
 
 
Posted: 20 March 2015 07:14 PM   [ Ignore ]   [ # 3 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

You’re welcome, marcpurcell!

Please check the attached file, I tried to reproduce your observation, but I can’t. Perhaps you share your file, just the Null object in question. I will have a look into it.

You might be aware already about this, but just let me make certain that this information is given, if you click on the, e.g., rotation - track, you might have some options that you need.

The handles are available if the previous key was set to Spline Interpolation. Check as well how much you can do with the (Key selected) Attribute Manager>Left/Right—Time/Value (four parameters).

My best wishes

File Attachments
CV2_r16_drs_15_ANac_11.c4d.zip  (File Size: 23KB - Downloads: 175)
 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 21 March 2015 02:22 AM   [ Ignore ]   [ # 4 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

P.S.: If you like to have an alternative, perhaps XPresso based, here is a sketch. I call it a sketch, as “scrubbing” with the timeline back and fore will “screw” up the rotation. So, be aware of that. However, in normal play-mode or during rendering—it is stable!

Just an idea :o)

Blue
Makes certain that the first frame is switched to the value “Start-RHº”

Green
As in the editor view, content is updated more often, this set up creates a switch to avoid additional updates for each “refresh”. Note, if you go back with the time slider, and then forward again, the absolute rotation is not equal to the one during the rendering!

Yellow
The set up to ask the current rotation and adds the “Add_Per_Frame” to it.

Orange
The User Data “Start-RHº” is fed in here.
. .

Check the XGroup for the processing sequence

Enjoy

===

File Attachments
CV2_r16_drs_15_XPac_01.c4d.zip  (File Size: 36KB - Downloads: 180)
 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 22 March 2015 09:36 AM   [ Ignore ]   [ # 5 ]  
Total Posts:  20
Joined  2010-04-18

Thank you for the support and help. Both are great solutions.

Profile
 
 
Posted: 22 March 2015 03:38 PM   [ Ignore ]   [ # 6 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Very nice of, marcpurcell! (I hope this is the way you like to have it written, no capitals)

Your question made me thinking if I should consider a series about F-Curve animations. It is certainly something I would like for everyone to have, and to use like as easy as to scribble with a pencil!

Have a wonderful Sunday!

:o)

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile