Integrating up through commit 90f050496

This commit is contained in:
alexpete
2021-04-07 14:03:29 -07:00
parent 8f2ed080a9
commit c2cbd430fe
2694 changed files with 285622 additions and 176874 deletions
@@ -42,14 +42,13 @@ namespace PhysX
// BaseColliderComponent
void ShapeColliderComponent::UpdateScaleForShapeConfigs()
{
// all currently supported shape types scale uniformly based on the largest element of the non-uniform scale
const AZ::Vector3 uniformScale = Utils::GetUniformScale(GetEntityId());
const AZ::Vector3 overallScale = Utils::GetOverallScale(GetEntityId());
for (auto& shapeConfigPair : m_shapeConfigList)
{
if (shapeConfigPair.second)
{
shapeConfigPair.second->m_scale = uniformScale;
shapeConfigPair.second->m_scale = overallScale;
}
}
}