Search Unity

Sprite Shape Controller and Spline

Discussion in '2D' started by signalan, Oct 26, 2020.

  1. signalan

    signalan

    Joined:
    Oct 5, 2018
    Posts:
    15
    Hi,
    Anyone please could point me to some working code example for SpriteShape? I need to work with
    SpriteShapeController and Spline to hopefully have a procedural 2D terrain with an edge collider.

    Thanks in advance.
     
  2. Venkify

    Venkify

    Unity Technologies

    Joined:
    Apr 7, 2015
    Posts:
    644
    Please take a look at SpriteShape Extras available in the SpriteShape. Extras and Samples can be installed through PackageManager. Extras contains a few examples of Scripting with SpriteShape. Please let us know if this helps.
     
    beukennoot and signalan like this.