Substance Painter
In this start to finish texturing project within Substance Painter we cover all the techniques you need to texture the robot character.
# 1 09-03-2007 , 03:49 PM
Sgart's Avatar
Registered User
Join Date: Mar 2007
Location: Sweden
Posts: 92

Problems animating a clock

I am still working on my church, and I want the clock to be able to animate properly.

I started with the large pointer. First I had the pointer on 12 (0) and pressed S. A line shows in the timeline.

THen I Pressed 15. And rotated the pointer to a quarter past 12. And pressed S again. To here, the animation works. But when I want the pointer to proceed to 30, the pointer moves backwards all the way around.

I dont know how to save animations so I cant upload an animated picture. but here is some pics to give you a clue.

user added image

user added image

user added image

user added image

# 2 09-03-2007 , 03:58 PM
starjsjswars's Avatar
Subscriber
Join Date: Jan 2006
Location: IL
Posts: 1,052
not sure what you mean but i would Freze transformations.


A great mod for Jedi academy www.moviebattles.com

Computer Rig-

64-bit vista
23.5 inch LCD + a 19 inch
Q6600 intell qaud
4 gigs of ddr2 ram
8800GTS 512 video card @700mhz
# 3 09-03-2007 , 04:33 PM
Sgart's Avatar
Registered User
Join Date: Mar 2007
Location: Sweden
Posts: 92

Originally posted by starjsjswars
not sure what you mean but i would Freze transformations.

What I mean is, that when I try to make the pointer go round (as on a normal clock) the pointer instead only makes it to 15 minutes past 12. When it should continue towards 30 past 12, it instead moves backwards all the way around, finally to 30.

# 4 09-03-2007 , 06:30 PM
Joopson's Avatar
Registered User
Join Date: Jul 2005
Location: Boston, MA
Posts: 2,314
check the channel box, and make sure the rotate X (or Z, depending on the model) is set to 360, and not 180 on one frame, and 0 on the next.


Environment Artist @ Plastic Piranha
www.joopson.com
# 5 09-03-2007 , 09:55 PM
Xander-0's Avatar
Registered User
Join Date: Feb 2005
Location: This Place
Posts: 220
you know, there's a better way to do this. Instead of keying the clock hands, set up an expression on the rotate value. Reasons - the hand will rotate at the desired speed, forever. And, it won't rotate backwards. I unfortunately don't have the code on me, but its a fairly simple bit that is covered in the various expression and MEL tutorials.


Book Wise

https://X4nd5r.deviantart.com
# 6 09-03-2007 , 10:26 PM
Sgart's Avatar
Registered User
Join Date: Mar 2007
Location: Sweden
Posts: 92

Originally posted by Xander-0
you know, there's a better way to do this. Instead of keying the clock hands, set up an expression on the rotate value. Reasons - the hand will rotate at the desired speed, forever. And, it won't rotate backwards. I unfortunately don't have the code on me, but its a fairly simple bit that is covered in the various expression and MEL tutorials.

Thanks! I will check it out and see if I can figure it out. I guess I can use different speed for the long and the short pointer then? To simulate real time.

# 7 09-03-2007 , 10:48 PM
NeoStrider's Avatar
Registered User
Join Date: Jun 2004
Location: Cleveland, Ohio (USA)
Posts: 1,541
the reason your hands are spinning out of control is because you're using the outer rotate ring. with this outer rotate ring maya decides how far your object rotates in all 3 axes in order to take your object from where it started to where it finished. it's safer to use the red, green, and blue rings in the rotate tool because those represent rotation in ONLY the x, y, or z axes... whichever you grab, the other two won't be affected.

an expression would definitely help to maintain a constant velocity.


Accept no substitutions.
# 8 10-03-2007 , 01:39 PM
Sgart's Avatar
Registered User
Join Date: Mar 2007
Location: Sweden
Posts: 92
I am using the green one I think. Not, the outer (if I remember correct)

I will check up the expression thingy.

# 9 10-03-2007 , 03:29 PM
publicFunction's Avatar
Senior Software Developer
Join Date: Jan 2005
Location: Livingston, Scotland
Posts: 1,701
As Xander suggested, MEL wouyld be the way forward, but if this is out of your league then you can key frame, and its a simple math.

1 rotate = 360 degrees
1 hour = 60 mins
15 mins = 90 degrees
keyframe every 60 frames at 90 degrees except the last one where you keyframe at 359 to allow it to go back to 0 again.

That would take care of the minute hand. The hour hand would folow the same path, but would be keyframed only every 4 th keyframe on the top of the hour.

Really MEL would be the way ahead to be honest and you would need to start looking at the time variable.


Chris (formerly R@nSiD)
Twitter
When the power of love overcomes the love of power the world will truely know peace - Jimmy Hendrix
Winner SM VFX Challenge 1
3rd Place SM SteamPunk Challenge (May 2007)
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads