update to use uniform scale calls to Transform

This commit is contained in:
greerdv
2021-05-25 22:31:41 +01:00
parent c2e965ea5a
commit bdf9ac31fb
29 changed files with 39 additions and 39 deletions
@@ -174,6 +174,6 @@ namespace LmbrCentral
AZ::Vector3 EditorBoxShapeComponent::GetBoxScale()
{
return AZ::Vector3(m_boxShape.GetCurrentTransform().GetScale().GetMaxElement() * m_boxShape.GetCurrentNonUniformScale());
return AZ::Vector3(m_boxShape.GetCurrentTransform().GetUniformScale() * m_boxShape.GetCurrentNonUniformScale());
}
} // namespace LmbrCentral