Skip to content

Conversation

@jf-kelly
Copy link
Contributor

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

2022-08-11 (1)

Related Issue

#604

@jf-kelly jf-kelly requested review from a team, banstack, nkisari and r-maradiaga and removed request for a team August 11, 2022 20:19
@jf-kelly jf-kelly added bug Something isn't working MYR API Relating to the MYR API Frontend Issues being caused via the frontend Discussion needed The issue requires discussion about design before development labels Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working Discussion needed The issue requires discussion about design before development Frontend Issues being caused via the frontend MYR API Relating to the MYR API

Projects

Status: Needs Review

Development

Successfully merging this pull request may close these issues.

1 participant