Search Unity

How do you find all vertices on the terrain under a given curve?

Discussion in 'World Building' started by TheCelt, Dec 19, 2021.

  1. TheCelt

    TheCelt

    Joined:
    Feb 27, 2013
    Posts:
    742
    I am trying to deform the terrain data based on a bezier curve, but i am not sure how i would find nearest vertices in terrain data in order to deform the mesh?

    The goal here is to draw rivers with my bezier curves..

    Which methods in the api does unity provide that can help me achieve this ?
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,740
    Rowlan likes this.