Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 16-10-2005, 12:41 AM   #1
bala2007
Registered User
 
Join Date: Mar 2005
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default Surface intersection

please i will like to know if there is anyway you can avoid sufaces from intersecting. For instance if am to animate a guy jumping on a table and i don't want the legs to pass through the table. How can that be done without have to align the legs on the table.
__________________
give to life want you want from it.
bala2007 is offline   Reply With Quote
Old 17-10-2005, 01:49 PM   #2
Velusion
Registered User
 
Velusion's Avatar
 
Join Date: May 2004
Location: Utah, USA
Posts: 368
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Do some research on Active and Passive Hard Bodies. Also, check out how to use IK solvers.
__________________
James Rogers
www.morphicmotion.com
Velusion is offline   Reply With Quote
Old 17-10-2005, 10:36 PM   #3
bala2007
Registered User
 
Join Date: Mar 2005
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default

passive and rigid bodies can only be used with dynamics
__________________
give to life want you want from it.
bala2007 is offline   Reply With Quote
Old 18-10-2005, 12:49 PM   #4
Velusion
Registered User
 
Velusion's Avatar
 
Join Date: May 2004
Location: Utah, USA
Posts: 368
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yeah, you're right.... I wasn't thinking.

With that in mind, I'd use an IK solver on the legs. If you rig the model right, you'll be able to grab it by the root joint and move it up and down without causing the feet to move. The feet will stay in place instead of going through the table and the knees will bend. You'll have to animate the model jumping up on the table but once you keyframe the feet on top of it, they will not move while you animate the root joint (the pelvis) or any other part of the model. There are a lot of tutorials on the net that show how to set up an IK joint for the legs and arms.
__________________
James Rogers
www.morphicmotion.com
Velusion is offline   Reply With Quote
Old 20-10-2005, 08:15 PM   #5
bala2007
Registered User
 
Join Date: Mar 2005
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the tips, i will try them out very soon.
__________________
give to life want you want from it.
bala2007 is offline   Reply With Quote
Old 20-10-2005, 11:31 PM   #6
Kartzan
Subscriber
 
Join Date: Oct 2005
Location: US of A
Posts: 114
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You may want to try dealing with constraints. I have only done a minimal amount of work with constraints, so I'm not sure if they can be used dynamically, but its just an idea.
Kartzan is offline   Reply With Quote
Old 21-10-2005, 01:14 AM   #7
bala2007
Registered User
 
Join Date: Mar 2005
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Is there any kind of constraint in maya that can prevent surfaces from intersecting?
__________________
give to life want you want from it.
bala2007 is offline   Reply With Quote
Old 21-10-2005, 06:01 PM   #8
Kartzan
Subscriber
 
Join Date: Oct 2005
Location: US of A
Posts: 114
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm sorry, but I couldnt tell you, I havent spent enough time with the software to tell you.
Kartzan is offline   Reply With Quote
Old 21-10-2005, 07:09 PM   #9
Xander-0
Registered User
 
Xander-0's Avatar
 
Join Date: Feb 2005
Location: This Place
Posts: 220
Thanks: 0
Thanked 2 Times in 1 Post
Default

as near as I know, there is no constraint that keeps things from intersecting. At least not as a 'don't let meshes intersect' route.
Personally, I think simply keying the charachter on the top of the table is your best, and easiest, bet. Unless you're looking at his shoes, you can easily key his feet in such a way as to keep his feet above the table, by just a teensy bit.
Yes, constraints can be used dynamically, and often are. You can use a constraint to 'squish' parts of the charachter model (don't ask me how to do that, yet), when they get within a certain distance of an object. But even if you got it to 'squish', you'd still have to key the feet and legs to be a certain distance from the table....
Xander-0 is offline   Reply With Quote
Old 21-10-2005, 10:24 PM   #10
bala2007
Registered User
 
Join Date: Mar 2005
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default

But how do i combine dynamics and keyframing?
__________________
give to life want you want from it.
bala2007 is offline   Reply With Quote
Old 24-10-2005, 07:17 PM   #11
Xander-0
Registered User
 
Xander-0's Avatar
 
Join Date: Feb 2005
Location: This Place
Posts: 220
Thanks: 0
Thanked 2 Times in 1 Post
Default

*shrug*
that's one of those - 'it depends on what you want to do' questions.

For example; most robot arms have little pneumatic or hydralic cylinders on them. But keying the cylinders would be difficult and time consuming. So what you do instead is set up a couple of aim constraints to keep the two pieces of the cylinders pointed in the right directions. Then all you need to do is animate the arms, and the cylinders follow along, dynamically expanding and contracting as needed. (well, that's the basic setup, anyways).

There's about a million and 1 examples, for a million and 1 ways to do something. If you gave me an example, I could maybe give you an idea, but this machine doesn't have maya at the moment....

Actually, for deforming shoes for table 'contact', your best bet is probably going to be using the soft-selection tool. Although, again, depending on viewing angle and distance, you could probably get away with actually letting your feet intersect the table just slightly.
Xander-0 is offline   Reply With Quote
Old 31-10-2005, 11:01 AM   #12
bala2007
Registered User
 
Join Date: Mar 2005
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default

sorry for reply later. I have been try out some animation and i think keyframing every single thing is better, but very tedious. I guess that is where the hardwork is.

thank for the anwsers.
__________________
give to life want you want from it.
bala2007 is offline   Reply With Quote

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.