SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

22-10-2002, 07:29 PM   #1
iron_tick
Subscriber
 
iron_tick's Avatar
 
Join Date: Sep 2002
Location: Chicagoland USA
Posts: 719
add axis
i need a way to make a ring spin in a circle while at the same time spin on its Y axis. when i try it the ring spins all crazy because as the x axis orientation changes, the Y axis changes. im going to post 2 simple animation, hope it helps you understand what i need help with.
  Reply with quote
22-10-2002, 07:54 PM   #2
iron_tick
Subscriber
 
iron_tick's Avatar
 
Join Date: Sep 2002
Location: Chicagoland USA
Posts: 719
ok, the initial axis is x as shown in fig.1 the axis i wish to add is the line shown in fig.2, how do i make it follow both at the same time? sorry, no animation, easier this way for me.
  Reply with quote
22-10-2002, 08:17 PM   #3
kbrown
Moderator
 
kbrown's Avatar
 
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
I'm not sure about this because i can't test it right now but this could be worth a shot:

1. do the spinning animation first without the circular movement
2. group the ring with it self
3. animate the group node to move along the circle

if that doesn't work, another way could be using a position locator. e.g. spin the ring like before and animate the locator to move along the circle.

hope this gives at least some ideas...
__________________
Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!
  Reply with quote
22-10-2002, 08:20 PM   #4
undseth
Subscriber
 
undseth's Avatar
 
Join Date: Aug 2002
Posts: 1,135
I think i have a solution!
I'll try to explain...

1)Create Obj1 and Obj2
2)Obj1 is for the rotation in fig 1; it will rotate in one direction only.

3)Obj2 is for the secondary rotation, obj2 rotates in TWO directions at once.
4)Obj2 has to be connected to obj1, so that obj2 rotates in concert wtih obj1. But at the same time keeps its own local rotational axis.

I found a way to do this.

5) rotate Obj1 BACK a little.
6) parent Obj2 to Obj1
7) rotate obj1 (and thus the parented obj2) back to its original position.

now...
8) Start rotating Obj1 as you wish.
9) Pick Obj2 and rotate it around its local axis.

10) Rotate Obj1 some more...
11) Rotate Obj2 some more...

This should work, I tried it myself. hehe if I understood you correctly.
__________________
I do not support Bush! Nor Saddam! Long live UN!
  Reply with quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
expression to have multiple axes controling one axis charlieNN Programming 0 19-09-2016 06:33 AM
Move Tool, Persp view, Constrain to 2 axis, can't return to 3 axis richparker Maya Basics & Newbie Lounge 0 26-01-2015 02:34 PM
rotate pivot point? vincentccw Maya Basics & Newbie Lounge 4 15-02-2010 05:37 PM
Scale components along an axis?!?!?! ctbram Maya Basics & Newbie Lounge 2 01-01-2010 06:08 PM
changing the scaling axis... ctbram Maya Basics & Newbie Lounge 6 02-04-2007 11:45 PM