I wanted to populte a terrain with grass. Should I use multimesh for doing this? Should I just place them on the terrain with a ray? I want to cover large area.
how about particles?
I would recommend using a MultiMesh or Particles, as either will lead to all of the grass being drawn in a single pass. I think currently it's easier to place instances of a MultiMesh than it is to place individual particles, though I believe Godot 4 is going to make this easier.
The multimesh is what I decided to use. It's working well.
wouldn't mind seeing the result
I'll have to spawn some grass and take a screen shot. I think I know where I would like to put some. But, I'll have to do this later.
I took a screen shot of the grass working.
export var numGrass=100
export var xsize=40
export var zsize=40
export var dis=false
export var raydis=100
# Called when the node enters the scene tree for the first tim.
pass # Replace with function body.
var ret : Vector3
var v : Vector3=Vector3(0,-raydis,0)
var point : Vector3
# Called every frame. 'delta' is the elapsed time since the previous frame.