2D Shape Generator

$6
Publisher Sven Möhring
File size 164.83kB
Number of files 7
Latest version 1
Latest release date 2021-11-04 04:13:32
First release date 2019-11-08 08:27:10
Supported Unity versions 2018.4.2 or higher
This package allows you to create random shapes, with one of two generators. One is fast but a bit limited, the second is a bit slower but provides truly random shapes. Both generators support parameters with which you can alter the general structure of the resulting shape.

Project requirements:
Scripting runtime required to be .NET 4.x Equivalent or higher.

This asset bundle contains 2 separate shape creators that create different shapes for different needs. Both generators return a list of points that make out the generated random shape. The points are listed in a clockwise order, whereby the first and last point are neighbors in the shape.

New features:
- Delaunay: Space out points with a minimum distance

Notice:
This package only returns the list of points that make out the shape and only in code. The screenshots here are an example of which shapes can be generated with this package. If you want to create a map out of the shape for example, you need to process the returned points of the shape yourself in order to create the final map for your game.

Top Publisher Assets