some physx fixes

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
pappeste
2021-06-17 09:31:15 -07:00
committed by Esteban Papp
parent 909384bd34
commit 5e863f810d
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -680,7 +680,7 @@ namespace PhysX
if (m_freeSceneSlots.empty())
{
m_simulatedBodies.emplace_back(newBodyCrc, newBody);
index = m_simulatedBodies.size() - 1;
index = static_cast<AzPhysics::SimulatedBodyIndex>(m_simulatedBodies.size() - 1);
}
else
{