Random mesh placement

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Ogeeice

I have seen how other engines allow the users to randomly place trees on a terrain in the editor and I was wondering how to do that in Godot and maybe set a particular number of trees to spawn

:bust_in_silhouette: Reply From: Skipperro

Have you already checked MultiMeshInstance out?

Documentation for MultiMeshInstance
Tutorial on using MultiMeshInstance

No but thanks

Ogeeice | 2019-08-07 12:09

:bust_in_silhouette: Reply From: Zylann

If you don’t intend to place objects procedurally, I made this editor plugin which can be useful to place scenes randomly on top of a collidable ground: GitHub - Zylann/godot_scatter_plugin: A tool to help placing lots of environment props in a scene

However if you want to build a whole forest or grassland, you may need more than that to keep good performance so the MultiMesh API is another way to achieve that.

Ooh! This is actually really nice! I’ve just built a small map using MultiMesh, but having this would be much easier. I have to give it a try!

Why it doesn’t show up on Asset Library?

Skipperro | 2019-08-07 13:37

Because it’s been pending validation for weeks xD mods are really busy

Zylann | 2019-08-07 18:11