Attention | Topic was automatically imported from the old Question2Answer platform. | |
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?