Procedural Tree
Wasabimole
$0.0
Date |
Price |
---|---|
日期和时间 |
价钱($) |
03/19(2018) |
0.0 |
11/16(2024) |
0.0 |
Jump AssetStore
Works on all Unity versions from 4.3 and 5.0.Web | Forum | Tutorial | Follow usProcedural Tree Generation Example Script.
This asset package contains a simple, yet powerful, C# script that can generate countless different procedural trees.The C# script is fully commented, and very easy to understand or modify. It’s a single MonoBehaviour class component that you can apply to any object to get a tree in your game. A single main Branch(…) recursive function generates all the mesh vertices.The trees can be modified in the editor or in the game in real-time (growing, twisting … or dancing!). There’s a bunch of parameters you can modify to control the generation algorithm. Like the number of vertices, number of sides, radius properties, roundness, twisting, branching probability, etc. It’s also very easy to apply any Unity material to the trees.The generated tree mesh will remain in your scene, and only ever be computed again if/when you change any generation parameters.You can modify the source to add your own unique tree features. If you do, please share! ;-)1.02 Error fixes update1.00 First public releaseThank you!