HolyLib Wiki

HolyLib:PostPhysicsLag

  number HolyLib:PostPhysicsLag( number simulationTime )

Description

Called after the physics simulation ended in which a physics lag was triggered.
Inside this hook you can safely change/modify the entities without having to worry about undefined behavior/crashes.

Recently Added

This was recently added in version (0.8 - DEV).

Arguments

1number simulationTime
How long the simulation already took.

Returns

1number skipType = physenv.IVP_NoSkip