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
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 3 11 04-02-2024, 02:24 PM
Last Post: _Aka_
  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,262 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_

Forum Jump: