Zylann / godot_scatter_plugin

A tool to help placing lots of environment props in a scene
188 stars 31 forks source link

Added configurable size-variations and aligning to normal #16

Closed nosdregamon closed 3 years ago

nosdregamon commented 3 years ago

What the title says: A) added two line inputs to the palette, allowing to give a size range to the scattered scenes (say we want trees with a size range of 90-120% of the original...). Also changed the script to make use of these values. Default range is 100%-100% (so no scaling).

B) Added a checkbox "Align to ground" for the palette. Code was added as well. If the checkbox is checked, the asset will be aligned to the normal of the hit surface. Works fine for flat rocks and crates. Looks strange on trees.