Foliage scale affects Z Offset positioning
When applying scale to a mesh in the foliage tool, it applies the scale to the z-offset as well.
In the attached image I have the scale set from 1-10... I want to make clouds of different size.
I have min and max z-offset set to 2000..
The bigger clouds go up way higher than the small clouds even though they should be placed at the same height.
The Z offset was intended to be used to move trees up and down to adjust their origin (pivot location) and to provide slight variation. For this usage case, the Z offset needs to scale with the tree's scale to ensure the tree's trunk remains in the ground.
I understand you want to use it for providing a fixed Z offset randomly scaled clouds, which is a great idea, but as it is the tool can't do that.
We intend to add support for foliage blueprints, which would be the best way to support this. I will also consider adding a checkbox next to the Z offset to toggle whether you want scaled or non-scaled Z offset behavior.
answered Apr 16 '14 at 05:44 AM
I was able to reproduce this effect, however, it is working as intended. Because foliage keeps the origin on the ground, not where the mesh lies via Z offset, as you scale you are effectively scaling the origin point itself, which affects the mesh you used. So the further you scale the origin, the larger the mesh gets but it is also pushed further away from the point of origin to maintain the Z offset ratio. This is why the scale also does not move the object upwards when z offset is 0. The object is directly on it's origin point, therefore it does not need to move upwards (or downwards) to compensate for any scaling changes. I hope this helps!
answered Apr 14 '14 at 04:00 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here