Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Snap to terrain
#1
Is there a feature to snap the 'Create Mesh' output to a terrain surface? If I were using the spline as a road I'd like to have it follow the surface of the terrain.

If such a feature does not exist I could code it up. I suppose it'd be a task of applying the height map terrain data to the Y position of the mesh points... just speculating.
Reply
#2
Hi,
In the Curvy Generator, there is a "Confrom path" module that allows you to project a path on a collider. Use it to project your extrusion path against the terrain's collider. You can see how an example of its usage in scene 24_CGConformPath
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Questions about Generator: mesh/objects within spline, snap to control point dartboard 5 960 06-09-2021, 12:42 PM
Last Post: _Aka_
  2D Terrain Question monotonic 5 1,720 01-01-2021, 07:32 AM
Last Post: _Aka_
  Road, LD & terrain UsernameHed 2 2,335 08-13-2019, 11:38 AM
Last Post: UsernameHed
  Walking on the Terrain mythstified 4 5,642 05-09-2018, 09:23 PM
Last Post: _Aka_

Forum Jump: