|02 February 2007||#1|
San Diego, USA
Join Date: Apr 2005
[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||#2|
Hey Ho Lets Go !portfolio
Bad Liebenwerda, Germany
Join Date: Apr 2004
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||#3|
Blue Sky Studios
New York City, USA
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.
|Thread Closed share thread|