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
  Road, LD & terrain UsernameHed 2 940 08-13-2019, 11:38 AM
Last Post: UsernameHed
  Walking on the Terrain mythstified 4 3,347 05-09-2018, 09:23 PM
Last Post: _Aka_
  Snap drag to spline? davidk 0 1,918 10-06-2015, 11:06 AM
Last Post: davidk
Exclamation Snap to Surface / Project feature Jake 2 4,279 09-15-2013, 03:12 PM
Last Post: PassivePicasso

Forum Jump: