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
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 1 2 1 hour ago
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,261 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: