o3de icon indicating copy to clipboard operation
o3de copied to clipboard

Non-uniform scale affects only containing entity.

Open michalpelka opened this issue 10 months ago • 5 comments

Describe the bug I want to adjust the scale of multiple entities. I can do that with a uniform scale - it affects children in correct way. I would like to adjust the non-uniform scale (e.g., change a scale in the Z direction to adjust the object's height). I cannot do that with parent's entitity.

Assets required

Steps to reproduce Steps to reproduce the behavior:

  1. Create an entity named "Root",
  2. Add non-uniform scale component,
  3. Add child entity, and add mesh component and valid mesh to it.
  4. Go to the entity named "Root" and adjust the non-uniform scale.

Expected behavior A mesh in the child entity should be adjusted according to value entered

Actual behavior Nothing.

Screenshots/Video image Found in Branch main

Desktop/Device (please complete the following information):

  • Device: [PC]
  • OS: [Ubuntu]
  • Version [22.04]

michalpelka avatar Apr 18 '24 12:04 michalpelka

That is the intended behavior of the component. I am personally of the same opinion as you (non-uniform scale should also affect children) but I think there were technical reasons that increased the complexity of that option.

Would want to bring it up for more discussion before triaging it. @l-sempe how can we do that? Do we still hold triage meetings?

AMZN-daimini avatar Apr 18 '24 13:04 AMZN-daimini

I guess uniform and non-uniform scaling should behave the same way for consistency, but at the same time, I see this is not a trivial change in the code.

jhanca-robotecai avatar Apr 18 '24 13:04 jhanca-robotecai

That is the intended behavior of the component. I am personally of the same opinion as you (non-uniform scale should also affect children) but I think there were technical reasons that increased the complexity of that option.

Would want to bring it up for more discussion before triaging it. @l-sempe how can we do that? Do we still hold triage meetings?

We haven't been holding triage meetings for a while, we could schedule a meeting to discuss this topic, or start a thread in #sig-content

l-sempe avatar Apr 19 '24 02:04 l-sempe

We haven't been holding triage meetings for a while, we could schedule a meeting to discuss this topic, or start a thread in #sig-content

Maybe a thread could be a good start :)

AMZN-daimini avatar Apr 19 '24 08:04 AMZN-daimini

There is a "Non-uniform Scale Discussion" thread in sig-content: https://discord.com/channels/805939474655346758/1230801319661539340

One of the other issues, and is a common function among scalers in game Engines, is that the non-uniform scale cannot handle inverse scaling. Something pivotal to how people handle 2.5D games.

Though I feel they might be similar in demand on the scaling systems. As inverse scaling a skeleton would require inverse scaling every bone child.

GaianHelmers avatar May 03 '24 17:05 GaianHelmers