Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some global-space bugs in RemoteTransform3D._update_remote and add some optimizations #102223

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MajorMcDoom
Copy link
Contributor

Fixes #97470
Supersedes #97498

RemoteTransform3D had various inconsistencies when operating in global space, and was also doing more work than necessary for certain combinations of position, rotation and scale updates. This PR fixes that in one go.

You can find a little test project here: remote-transform-fix-test.zip
Drag around the flower_mover (yellow hologram) to move the remote flower.
The purple box is the parent of the remote flower, and as you can see, it is rotated and skewed, just to make the test case a bit more interesting. Try various combinations of the four different boolean properties (global space, update position, update rotation, update scale).
flower

@MajorMcDoom MajorMcDoom requested a review from a team as a code owner January 31, 2025 02:53
@MajorMcDoom MajorMcDoom changed the title Fixed some global-space bugs in RemoteTransform3D._update_remote and optimized a bit Fix some global-space bugs in RemoteTransform3D._update_remote and add some optimizations Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RemoteTransform3D applies incorrect rotation when Update Scale is disabled
2 participants