some physx fixes
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user