Multiple Prefabs Cannot be Transformed Locally
rhuthCarb opened this issue · comments
Describe the bug
You cant transform multiple objects locally. I had a terrain piece rotated 45degrees and set the transform to local. I could duplicate and move a single piece locally, but upon selecting multiple prefabs, it automatically set the transform back to global. this forced me to duplicate the terrain one at a time instead of being able to duplicate and transform multiple at once.
Assets required
any prefab
Steps to reproduce
Steps to reproduce the behavior:
- place a prefab
- rotate and switch to local transform
- duplicate
- select both prefabs and try to move in local transform
- multiple objects selected switches back to global
Expected behavior
Transforming multiple objects locally at the same time
Actual behavior
Selecting multiple objects forces it from local to global translation
Screenshots/Video
Recording.2024-04-12.190958.mp4
Found in Branch
https://github.com/carbonated-dev/o3de
Commit ID from o3de/o3de Repository
custom engine version 2310.2
SHA e22213e
Desktop/Device (please complete the following information):
Device: [PC]
OS: [Windows]
Version [11]
CPU [13th Gen Intel(R) Core(TM) i7-13700K 3.40 GHz]
GPU [NVidia RTX 3070]
Memory [64GB]
Additional context
Add any other context about the problem here.
Sounds like the manipulator takes the orientation from the entity with a single selection, and from the parent with a multiple selection.
Thing is, though, I tried rotating the parent and moving around the children in a similar fashion, and it went a bit nuts.
So yeah sounds like there's something messed up with the way manipulators inherit the space from their parent if rotations are involved. Not really my area but I can give it a go.