[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 Tools Display Modes
  02 February 2007
Question [Maya] - Camera Following an object


Marble - Active Rigid Body
Helix Tube - Passive Rigid Body

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

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.
  02 February 2007
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.
  03 March 2007
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!
  03 March 2007
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.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
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
Society of Digital Artists

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

All times are GMT. The time now is 08:33 PM.

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