Merge 9fe86c18ee
into 559217d991
This commit is contained in:
commit
08584d9109
|
@ -765,12 +765,12 @@ void JoltPhysicsEnvironment::Simulate( float deltaTime )
|
|||
|
||||
HandleDebugDumpingEnvironment( VJOLT_RETURN_ADDRESS() );
|
||||
|
||||
m_bSimulating = true;
|
||||
|
||||
// Funnily enough, VPhysics calls this BEFORE
|
||||
// doing the simulation...
|
||||
m_ContactListener.PostSimulationFrame();
|
||||
|
||||
m_bSimulating = true;
|
||||
|
||||
// Run pre-simulation controllers
|
||||
for ( IJoltPhysicsController *pController : m_pPhysicsControllers )
|
||||
pController->OnPreSimulate( deltaTime );
|
||||
|
|
Loading…
Reference in New Issue