[Plugin] rotating components spherically (June 12, 2011)

[Plugin] rotating components spherically (June 12, 2011)

Postby kyyu » Sun Jun 12, 2011 10:56 pm

This plugin came from this thread:
"Rotating Spherical components around a common axis"
viewtopic.php?f=15&t=37881

Basically, the question was how to animate a cartoonly, sun model. The model and pics are posted in the above thread. The person had found my key rotate plugin, which rotated groups and components 90 degees in the 3 major axes. It used the arrow keys and the home/end keys:
viewtopic.php?t=28086

I wasn't hard to modify the plugin, so the arrow keys moved components placed on the surface of a sphere, x and y on the surface. It was kinda like they were glued, but not really. The sphere was centered at the origin and the x/y rotations was about the origin. So the components just orbited, on the sphere surface. In z direction (local normal direction), the components rotated about their local center. But uses the radius vector of the sphere. So they also appeared to stick to the sphere surface.

It's a rather specific plugin, but maybe people will find it useful. It's easy enough to modify. I showed the code I modified in the original thread.

ky_Key Rotate_modified for sun animation_02.rb

Oh, this and the orginal "ky_Key Rotate" plugin are essential identical, so they they can't both be installed, at the same time. Otherwise they will conflict.

-Kwok
0

kyyu 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 


 

Return to Plugins

Who is online

Users browsing this forum: engrarslankhan, genomdisorder, ruey lang chern and 6 guests

Visit our sponsors: