o3de / o3de

Open 3D Engine (O3DE) is an Apache 2.0-licensed multi-platform 3D engine that enables developers and content creators to build AAA games, cinema-quality 3D worlds, and high-fidelity simulations without any fees or commercial obligations.

Home Page:https://o3de.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Non-uniform scale affects only containing entity.

michalpelka opened this issue · 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]

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?

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.

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

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 :)

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.