SimplyMaya Forums

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

Home / forum / Animation / Animation / Surface intersection
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 15-10-2005, 11:41 PM   #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, 12: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, 09: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, 11:49 AM   #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, 07: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, 10: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, 12: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, 05: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, 06: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, 09: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, 06: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, 10: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
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.