HolyLib Wiki

IPhysicsEnvironment:SetInSimulation

  IPhysicsEnvironment:SetInSimulation( boolean inSimulation )

Description

Overwrites the internal flag that IPhysicsEnvironment:IsInSimulation reads from.
HolyLib itself uses this to temporarily clear the flag while calling the HolyLib:PostPhysicsLag hook and restores it afterwards.

Arguments

1boolean inSimulation

The new value for the internal simulation flag