2
$\begingroup$

I have made a hilly landscape using the Landscape addon in blender 2.8. I have an object which I want to animate across the landscape by following the surface contours and maintaining a small distance, a little like a hovercraft floating over the land.
I have tried the “Limit Distance constraint” but can’t seem to make it work.

Is there a FAST and EASY way to accomplish this.

$\endgroup$

2 Answers 2

4
$\begingroup$

enter image description here

Shrinkwrap constraint is pretty good for this, to control how far your object is from the ground you can simply lift it in edit mode to move it's origin downward.

$\endgroup$
6
  • $\begingroup$ How would you set this up? $\endgroup$ Oct 18, 2019 at 10:09
  • $\begingroup$ I have given this a go but the object is still passing into the landscape here and there. I already have key framing on the object so would this be the reason that I am having problems? $\endgroup$ Oct 18, 2019 at 10:14
  • 2
    $\begingroup$ Yeah you need to keep it's position above the landscape for the projection to work, otherwise it will go through. $\endgroup$
    – globglob
    Oct 18, 2019 at 10:19
  • $\begingroup$ Ok, I got it working, but the animation looks a little jerky at some points along the timeline. Is there some way to smooth it out? Here is the link to my file if it helps in determining the problem: dropbox.com/s/wrpx0rf8fd3w7go/Santa%20scene%2014.blend?dl=0 $\endgroup$ Oct 18, 2019 at 15:00
  • 1
    $\begingroup$ Choose Shrinkwrap Type > Target Normal Project, Snap Mode > Outside Surface, enable Align Axis To Normal and click on the Z axis, it seems to work fine $\endgroup$
    – moonboots
    Oct 19, 2019 at 8:33
0
$\begingroup$

final

Fast and easy way would be to:

  1. Create a little Plane.
  2. Parent Object to this Plane.
  3. Turn on Face Snap. Optionally check Align Rotation to Target.

    enter image description here

  4. Move the Plane.

setup

$\endgroup$
3
  • 1
    $\begingroup$ This doesn't rotate with the landscape though, I would think that's what the author would want $\endgroup$
    – globglob
    Oct 18, 2019 at 11:39
  • $\begingroup$ @ArthurBlaquart Check edit - point 3. $\endgroup$
    – cgslav
    Oct 18, 2019 at 12:01
  • 1
    $\begingroup$ This kind of snapping wouldn't work when rendering, this is only to help you setting up your scene and modeling $\endgroup$
    – globglob
    Oct 18, 2019 at 12:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .