Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

[Bug]: Transform Gizmo Incorrectly Moves Objects That Are Children of Offset Objects #9362

Closed
5 tasks
dinomut1 opened this issue Dec 1, 2023 · 0 comments · Fixed by #9375
Closed
5 tasks
Assignees
Labels
bug Something isn't working triage Remove once bug is reviewed

Comments

@dinomut1
Copy link
Member

dinomut1 commented Dec 1, 2023

Version

0f27df2(1.5.0)

Operating Systems

  • macOS
  • Windows
  • Linux
  • Android
  • IOS

Browser (if applicable)

No response

What is supposed happened?

Transform Gizmo should move objects according to mouse movement and on release commit the object's position to where it has been moved

What happened?

This happens fine when the object's local transform and global transform are the same. However, if the object is the child of a parent object which has a non-identity transform, on mouse up, the object will have its parent's offset applied to it and will be moved or rotated away from where it was when the mouse up event occurs
Screencast from 12-01-2023 09:37:56 AM.webm

Steps to reproduce

1. Place down any object as a child of some other object. 
2. Translate or rotate the parent object by any amount.
3. Now try moving or rotating the child object. On mouse up you will see it moved from its current location

Relevant Info

No response

@dinomut1 dinomut1 added bug Something isn't working triage Remove once bug is reviewed labels Dec 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working triage Remove once bug is reviewed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants