0 votes

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

in Engine by (163 points)

2 Answers

0 votes

Have you already checked MultiMeshInstance out?

Documentation for MultiMeshInstance
Tutorial on using MultiMeshInstance

by (203 points)

No but thanks

0 votes

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: https://github.com/Zylann/godot_scatter_plugin

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.

by (29,034 points)

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?

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

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.