MYR
MYR copied to clipboard
Flat-based objects positioned correctly
Description
These changes (to setPosition() and setYPos()) make it so that objects with flat bases (box(), cylinder(), etc.) are positioned correctly on the floor when y is set to 0. This was a problem caused by scaling, since the position is set based on the center of the object, which does not change when the scale is changed. So, that is why there were issues with objects being set at y=0, yet not actually being aligned on the ground.
As of now, this fix only works for objects with flat bases, but it seems to be an improvement on the current functions in production.
Preview

Related Issue
#604