static rigid body and rigid body component use Handles instead of pointers (#662)

This commit is contained in:
amzn-sean
2021-05-13 11:59:22 +01:00
committed by GitHub
parent 112f0d3448
commit d690c3fee4
16 changed files with 358 additions and 129 deletions
@@ -140,6 +140,9 @@ namespace PhysX
}
};
AZ_Warning("PhysXSystem", deltaTime <= m_systemConfig.m_maxTimestep,
"Frame delta time of [%.6f seconds] exceeds Physics max frame timestep, physics timestep will be clamped to [%.6f seconds].",
deltaTime, m_systemConfig.m_maxTimestep);
deltaTime = AZ::GetClamp(deltaTime, 0.0f, m_systemConfig.m_maxTimestep);
AZ_Assert(m_systemConfig.m_fixedTimestep >= 0.0f, "PhysXSystem - fixed timestep is negitive.");