- Home /
Question by
mustang4484 · May 14, 2019 at 08:08 PM ·
procedural generationgeneratormesh vertices
Procedural generator
Hi everyone, I would like to make a Mesh procedural generator that randomly instance different types of solids (prefab) but always with minimum guaranteed distances in X and Y. What's the right way?
Thank you
Comment
Answer by Pangamini · May 14, 2019 at 09:31 PM
Random.insideUnitSphere
will generate a ranom point that's no farther than the given radius from the Vector3.zero. Is that what you need?
Your answer
![](https://koobas.hobune.stream/wayback/20220612201413im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to fill out a procedurally generated mesh with quads of varying sizes? 0 Answers
Procedurally generated mesh half "see through" 1 Answer
Best way to make a big 2D map as smooth as possible? 1 Answer
Help with Instantiating 0 Answers
Best way to paint prefab room data for procedural map generation? 0 Answers