I have a landscape plane and a camera following a path. I would like to deform this path so that the camera stay a constant distance to the landscape. This is to simulate the effect from the view of a car that moves on a road. What could be a good way of doing that?

  • $\begingroup$ Convert the curve/path as mesh (Alt+C) then shrinkwrap it to the landscape. Apply this modifier. Convert it back to curve. $\endgroup$ – lemon Feb 26 '17 at 17:22

You could use the shrinkwrap constraint on the camera with the distance set appropriately to keep it a fixed distance above the surface. If you place this constraint below the follow path constraint on the stack it should work fine. This won't deform the path itself, rather it will modify the distance above the surface that the camera is after its position is set by the path.

|improve this answer|||||
  • $\begingroup$ Uved, but FYI, the difference with the way I proposed in the comments is the camera will horizontal while moving up and down, so the camera axis won't move (looking up and down while moving up and down) $\endgroup$ – lemon Feb 27 '17 at 6:58
  • 1
    $\begingroup$ @lemon, that is true, and a good point. I didn't worry about that since the perspective of a car follows the slope. It is also fairly easily fixed with another constraint if necessary. $\endgroup$ – Sazerac Feb 27 '17 at 7:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for?Browse other questions tagged or ask your own question.