Sep 2009
1 / 4
Sep 2009
Sep 2009

Hi to all CC readers )

I wonder whether it is possible to make camera move along one curve (motion path) and at the end "jump" to another curve and continue movement on it.

Is it possible to achieve without API knowledge?

Any tip is highly appreciated.
Thanks.

P.S. in attachment is typical situation which happens when you detach curves. Curve_A2 loses motion path attribute and camera finishes movement at the end of Curve_A1. But I want somehow keep motion path attribute for Curve_A2, so camera starts from Curve_A1 and finishes movement at the end of Curve_A2.

  • created

    Sep '09
  • last reply

    Sep '09
  • 3

    replies

  • 4.8k

    views

  • 1

    user

  • 1

    link

Yeah, that's doable. You just need to create two motion paths, hook up the outputs of the each of the motion paths to an new vector attribute on the camera transform (mp1 andmp2) and create an expression that decides which of the two new attributes drives the translation of the camera transform. Your expression would look something like

if (frame <=120) {
    cam1.translateX = cam1.mp1X;
}
else {
    cam1.translateX = cam1.mp2X;
}

In this example I have connected motionPath1.allCoordinates to cam1.mp1 and motionPath2.allCoordinates to cam1.mp2

Instead of a expression you can just constrain it to both those objects and key the constraints. Whatever is more flexible for you.

One camera attached to two motion paths - Maya - Highend3d Artists Discussion Forums

We're sorry, but something went wrong.

Error: Backend Fetch Failure

We've been notified about this issue and we'll take a look at it shortly.

If you need to reach us, email support@highend3d.com