Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Snap to terrain
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.
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.

Possibly Related Threads…
Thread Author Replies Views Last Post
  Conform to terrain in play mode ? Philkrom 3 11 08-27-2022, 11:04 AM
Last Post: _Aka_
  Questions about Generator: mesh/objects within spline, snap to control point dartboard 5 1,260 06-09-2021, 12:42 PM
Last Post: _Aka_
  2D Terrain Question monotonic 5 1,981 01-01-2021, 07:32 AM
Last Post: _Aka_
  Road, LD & terrain UsernameHed 2 2,471 08-13-2019, 11:38 AM
Last Post: UsernameHed

Forum Jump: