Random grass 3d generation

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

I want to place some random (non solid, simply a model) grass on my terrain that points upwards from the quad of the terrain it’s on.

As of right now my idea was to (on load) randomly pick X, Z locations and raycast downwards to get the normal of that X, Z location (and also check if the terrain texture is not water or sand - or better yet, the Y value which determines the type of terrain) then instance a Grass subscene there pointing ‘upwards’ from the quad.

That idea sounds kinda odd to me though, I don’t know if it would be fast enough…these grass instances are 100% for appearance and will do nothing in game.

Does anyone have a better idea on how to do this?

:bust_in_silhouette: Reply From: Inces
:bust_in_silhouette: Reply From: spinland

I ended up using:

Great plugin!