to add a "tumble" module...

Sat Nov 08, 2014 2:35 pm

would like to see some sort of "tumbling" module that will allow an object to continuously rotate with the following parameters...

Rotate origin:
X
Y
Z

if set to 0,0,0 then the object would appear to rotate on itself (if the object itself is also at 0,0,0)...if not 0,0,0, then the object would appear to orbit a point at the specified distances...

Rotate axis speed:
X-axis
Y-axis
Z-axis

positive rotate numbers would rotate/orbit clockwise and negative counter-clockwise...

of course all of the above origin and axis parameters can be linked...

would be interesting to see how these modules can be compounded to form more complex effects, eg the first copy can be set up to have the object "tumble" on itself..then this can be feed into another tumble module with an origin other than 0,0,0 to have the "tumbling" object to also orbit around a point thus creating a rotating moon revolving around a planet...
hazardman
 
Posts: 71
Joined: Sat Nov 08, 2014 1:33 am

Re: to add a "tumble" module...

Sun Nov 09, 2014 1:00 am

If I understand you correctly, the functionality you want can be achieved by using the Translate and Rotate modules in combination with a Ramp modifier.

Take a look at the first scene in the VideoExamples.magic sample project. It has an example of Rotate modules with Ramp modifiers. The Ramp value controls the speed of the rotation.

To have an "orbit" effect, just add a Translate module before the Rotate module. Like this:
orbit.jpg
orbit.jpg (44.69 KiB) Viewed 2704 times

Does that help?
Eric
Eric
Site Admin
 
Posts: 3037
Joined: Wed Apr 09, 2014 9:28 pm

Re: to add a "tumble" module...

Sun Nov 09, 2014 1:40 am

close...

the translate doesn't seem quite to work the way i want to....it makes the object appears to be in "synchronized" orbit as oppose to spinning on itself and also orbiting around a point...however...

it works if i break this up into two scenes--beauty!..i'll have to get used to thinking a little out-of-the-box ;)

thanks for the lead...

tumble.jpg
tumble.jpg (93.68 KiB) Viewed 2570 times
hazardman
 
Posts: 71
Joined: Sat Nov 08, 2014 1:33 am

Re: to add a "tumble" module...

Sun Nov 09, 2014 2:07 am

here's a link to a quick "tumbling" test video...i added another RotateAxis on the Z axis to compound the motion further and it's producing the effect i was looking for!..thanks again for the help...

[media]
hazardman
 
Posts: 71
Joined: Sat Nov 08, 2014 1:33 am

Return to Feature Requests

© 2021 Color & Music, LLC • This web site is mobile-friendly