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 27-03-2008, 09:16 AM   #1
InverseTelecine
Registered User
 
InverseTelecine's Avatar
 
Join Date: Feb 2008
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default Keying Parenting?

Hello. A hopefully easy question from a complete newbie. I don't know how to ask it so I'll just give an example:

I want to have an arrow (as in bow and arrow) move straight then get stuck in a character model. How do I make it so the arrow can move straight and then move with the model stuck in place?

It seems like I could do it if I could keyframe the parentage of an object (the arrow) so that first it's not parented to anything, and then it is parented to the character, but I don't know what I'm doing, so I may be totally wrong.

Any help would be appreciated. Thanks
InverseTelecine is offline   Reply With Quote
Old 27-03-2008, 09:36 AM   #2
NeoStrider
Registered User
 
NeoStrider's Avatar
 
Join Date: Jun 2004
Location: Cleveland, Ohio (USA)
Posts: 1,541
Thanks: 0
Thanked 2 Times in 2 Posts
Default

take a look at the constraints... can't remember what kind you need (cause off the top of my head i can't remember what does what), but aim and orient sound good *shrug*
__________________
Accept no substitutions.
NeoStrider is offline   Reply With Quote
Old 27-03-2008, 10:23 AM   #3
Kratch
Registered User
 
Join Date: Dec 2007
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default

what you want is a parent constraint. you can then key an attribute in the constraint on and off (it actually has a floating number so that when you have the object parented to two objects, you can actually have it slid between the two instead of snapping back and forth).

For example, Create a sphere and a plane. select the sphere, then shift select the plane. In your animation set, select constrain > parent. move the sphere around, the plane follows with it. now select the plane. Under SHAPES, you should see " pPlane1_parentConstraint1 ". If you select that, a few attributes become visible, the bottom one should be "P Sphere1 WO", it is this attribute that you can animate to turn the parenting on and off. the name of this attribute will typically be the <name of the parent> WO

hope this helps
Kratch is offline   Reply With Quote
Old 27-03-2008, 10:29 AM   #4
NeoStrider
Registered User
 
NeoStrider's Avatar
 
Join Date: Jun 2004
Location: Cleveland, Ohio (USA)
Posts: 1,541
Thanks: 0
Thanked 2 Times in 2 Posts
Default

that's the constraint i was thinkin' of!
__________________
Accept no substitutions.
NeoStrider is offline   Reply With Quote
Old 27-03-2008, 10:38 AM   #5
Kratch
Registered User
 
Join Date: Dec 2007
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Point constraint will make the child mimic the translates of the parent

Orient constraint will make the child mimic the Rotation of the parent

Parent constraint will make the child mimic the both Rotate and translates of the parent.

Scale is scale

And aim is the only real tricky one, It orients the child so that one of it's axis (determined when creating the constraint) is always pointing directly at the parent (a good example is an eye controller, so the eyes always look at there the controller is positioned)

trick with constraints is that the selection is backwards, Parent first, then child, while normal parenting is child, then parent.
Kratch is offline   Reply With Quote
Old 31-03-2008, 02:27 AM   #6
InverseTelecine
Registered User
 
InverseTelecine's Avatar
 
Join Date: Feb 2008
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks guys. I give that a try Kratch, it certainly sounds like what I'm asking for.

Thanks again!
InverseTelecine 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.