fix bug with not clearing shape collider config when shape component is removed

This commit is contained in:
greerdv
2021-05-14 21:07:22 +01:00
parent 883786796d
commit f3c1878a8b
@@ -326,6 +326,7 @@ namespace PhysX
else
{
m_shapeType = !shapeCrc ? ShapeType::None : ShapeType::Unsupported;
m_shapeConfigs.clear();
AZ_Warning("PhysX Shape Collider Component", m_shapeTypeWarningIssued, "Unsupported shape type for "
"entity \"%s\". The following shapes are currently supported - box, capsule, sphere, polygon prism.",
GetEntity()->GetName().c_str());