[Maya] - Camera Following an object

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 02 February 2007   #1
Question [Maya] - Camera Following an object

Hello!

[Objects]
Marble - Active Rigid Body
Helix Tube - Passive Rigid Body
Camera


[Scenario]
Marble is going down a tube that is in a shape of a helix.

[Problem]
Can anyone please tell me how to get a camera to follow an object?

Thanks in advance!
__________________
Success is the progressive realization of a worthy ideal.
 
Old 02 February 2007   #2
hm ... i would parent or group the camera with the object ... that would be the most easy way ... imo ... though this wont work when you plan to rotate the object during the animation. In this case i would connect both with the connection editor.
 
Old 03 March 2007   #3
Well, you will want to use a 3-node camera (Cam, Aim, and Up). The easist thing to do would be to Point Constrain the camera's Aim object to the marble, but the camera would be bouncing back and forth as the marble went down the helix, which would probably be pretty annoying.

To avoid the annoying bounce, you could position the Aim in the center of the helix and use either a Set Driven Key or the connection editor to link the marble's Y translation to the Aim's Y translation. I'm not on my computer right now, so I can't open Maya and give you the step-by-step at the moment, but if you need more help setting up that relationship just let me know.

Once you have the Aim linked to the marble animation, you can animate the camera position separately if you'd like, and it will always be pointing toward the marble.

Oh, and when working with a 3 node camera, it's usually easiest to group the Cam and Up together, and then have that group and the Aim under the main camera group, if that makes sense. That way you can animate the Cam/Up group and keep the 2 elements together nicely.

Good luck!
 
Old 03 March 2007   #4
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
 
Thread Closed share thread



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
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 09:04 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.