SimplyMaya Forums

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

Home / forum / Lounges / Maya Basics & Newbie Lounge / creating a polly with the lid hinged from a side
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 19-01-2010, 06:46 PM   #1
cougarblitz
Registered User
 
cougarblitz's Avatar
 
Join Date: Jan 2010
Location: SLC
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Question creating a polly with the lid hinged from a side

Hi I seem to be stuck with trying to animated a lid opening on a cube. I am working on a project that has the lid of a poly cube opening
cougarblitz is offline   Reply With Quote
Old 19-01-2010, 06:47 PM   #2
cougarblitz
Registered User
 
cougarblitz's Avatar
 
Join Date: Jan 2010
Location: SLC
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default Poly cube

Any help would be very much appreciated. Thank you in advance
cougarblitz is offline   Reply With Quote
Old 19-01-2010, 06:56 PM   #3
stwert
EduSciVis-er
 
Join Date: Dec 2005
Location: Toronto
Posts: 3,373
Thanks: 74
Thanked 710 Times in 642 Posts
Default

If you could be more specific with the question, or post a screenshot of where you're at that would be helpful.

It sounds like you want to move the pivot point of the lid to on edge so you can rotate it from there? To do that, get your move tool, hit insert, move the pivot point to one side, hit insert again. Then use your rotate tool to test how the lid moves. Hope that helps.
stwert is offline   Reply With Quote
Old 19-01-2010, 07:05 PM   #4
cougarblitz
Registered User
 
cougarblitz's Avatar
 
Join Date: Jan 2010
Location: SLC
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thank you for your help I will show you what is happening with this with a screen shot. I got that same help from somebody else. However i know this may sound like a dumb question but which key on the mac keyboard is the insert key. Here I will let you look at this maybe you could help. Thanks
Attached Thumbnails
Click image for larger version

Name:	screen shot 2010-01-19 at 1.04.20 pm.png
Views:	102
Size:	133.3 KB
ID:	43630  
cougarblitz is offline   Reply With Quote
Old 19-01-2010, 07:08 PM   #5
cougarblitz
Registered User
 
cougarblitz's Avatar
 
Join Date: Jan 2010
Location: SLC
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Also do you feel like using a hinge constraint is the best approach to this. Or do you have any other suggestions. Also should i do this with poly only or should i start with a nurb cube.
cougarblitz is offline   Reply With Quote
Old 19-01-2010, 07:10 PM   #6
Perfecto
Registered User
 
Perfecto's Avatar
 
Join Date: Mar 2007
Location: TN (USA)
Posts: 1,882
Thanks: 8
Thanked 127 Times in 119 Posts
Default

I don't know anything about mac, but try holding down the letter d. If you have a later version of Maya it should allow you to move the pivot point.
__________________
Don't be satisfied with what you can do but rather strive to do the things you can't do!
Exceed Expectations!
Perfecto is offline   Reply With Quote
Old 19-01-2010, 07:13 PM   #7
cougarblitz
Registered User
 
cougarblitz's Avatar
 
Join Date: Jan 2010
Location: SLC
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i have 8.5. If you would not mind could you give this similar project a whirl.
And see how it works for you.
cougarblitz is offline   Reply With Quote
Old 19-01-2010, 07:22 PM   #8
cougarblitz
Registered User
 
cougarblitz's Avatar
 
Join Date: Jan 2010
Location: SLC
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Here is another screen shot of the problem i am having
Attached Thumbnails
Click image for larger version

Name:	screen shot 2010-01-19 at 1.21.40 pm.png
Views:	100
Size:	76.0 KB
ID:	43631  
cougarblitz is offline   Reply With Quote
Old 19-01-2010, 07:30 PM   #9
Chirone
Subscriber
 
Chirone's Avatar
 
Join Date: Dec 2007
Location: NZ
Posts: 3,125
Thanks: 11
Thanked 147 Times in 143 Posts
Default

Quote:
Originally posted by cougarblitz
However i know this may sound like a dumb question but which key on the mac keyboard is the insert key.
the insert key is the home key on a mac keyboard

question to you.... what are you using the hinge for? like... are you wanting it to be simulated (like something will pop out and move it without you having to keyframe its movement)? or are you going to just animate it with keyframe animation?
__________________


that's a "Ch" pronounced as a "K"

Computer skills I should have:
Objective C, C#, Java, MEL. Python, C++, XML, JavaScript, XSLT, HTML, SQL, CSS, FXScript, Clips, SOAR, ActionScript, OpenGL, DirectX
Maya, XSI, Photoshop, AfterEffects, Motion, Illustrator, Flash, Swift3D
Chirone is offline   Reply With Quote
Old 19-01-2010, 07:33 PM   #10
cougarblitz
Registered User
 
cougarblitz's Avatar
 
Join Date: Jan 2010
Location: SLC
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

My Original thought was to animate it with Keyframe. What will happen is the lid will pop open and out will come an animal. with the appropriate sound specified for that particular animal. Does this make sense
cougarblitz is offline   Reply With Quote
Old 19-01-2010, 07:39 PM   #11
stwert
EduSciVis-er
 
Join Date: Dec 2005
Location: Toronto
Posts: 3,373
Thanks: 74
Thanked 710 Times in 642 Posts
Default

Keyframe it. Don't bother with a hinge constraint unless your animal will push the lid open with a dynamic simulation, which would require both the lid and the animal being rigid bodies.
stwert is offline   Reply With Quote
Old 19-01-2010, 07:42 PM   #12
cougarblitz
Registered User
 
cougarblitz's Avatar
 
Join Date: Jan 2010
Location: SLC
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am not sure i know how to keyframe it. Is it too long to give a brief explanation of how to do that. I have the box created I know how to animate it with the keyframes. but how do i get the lid to do just what i want it to without a hinge. I don't know if this makes sense. But i am desperate for help on this.
cougarblitz is offline   Reply With Quote
Old 19-01-2010, 07:50 PM   #13
stwert
EduSciVis-er
 
Join Date: Dec 2005
Location: Toronto
Posts: 3,373
Thanks: 74
Thanked 710 Times in 642 Posts
Default

Probably best to go through the tutorials included in the maya help files at some point, but I'll write something up quickly here.

Start with your box and your lid with the lid flat on top of the box (closed). The edge of the box and the edge of the lid should be touching.

Now you need the lid to rotate properly. Select your lid, and hit 'w' for the move tool. The manipulator (axis arrows) will likely be right in the middle of the lid. Hit 'home' (on mac) and the arrowheads will disappear allowing you to move your pivot point. Move the manipulator to the edge of the lid just where the box and lid are touching. Hit 'home' again to exit.

Test your rotation. Hit 'e' and rotate the lid in whichever axis, allowing the lid to open and close. All that's needed now is to key it.

Start by keying the lid closed at frame 1. Hit Shift - E with the lid closed. A red tick will appear at frame 1 and your rotate channels will be colored indicating they are keyed.

Move to frame 10 or whenever you want the lid to start opening. Hit Shift-E again to key, (alternately, select the correct rotate channel, right click on it and hit 'Key selected')

Move to frame 15 or whenever you want the lid to be fully open. Rotate the lid to the open position and hit Shift-E again to key it as open. Great!

Scrub in the timeline (LMB back and forth) to see the result, or hit play.
stwert is offline   Reply With Quote
Old 19-01-2010, 07:54 PM   #14
cougarblitz
Registered User
 
cougarblitz's Avatar
 
Join Date: Jan 2010
Location: SLC
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Stew. Thanks a million that perfectly described what i was in need of. My problem has been the pivot point. Everything else should be a breeze. Seriously you just put a smile on my face. Thanks again for the help.
cougarblitz is offline   Reply With Quote
Old 19-01-2010, 07:55 PM   #15
stwert
EduSciVis-er
 
Join Date: Dec 2005
Location: Toronto
Posts: 3,373
Thanks: 74
Thanked 710 Times in 642 Posts
Default

No problem. Good luck with the animal popping out
stwert is offline   Reply With Quote
New Thread

« Previous Thread | Next Thread »

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.