HolyLib Wiki

CreateEnvironment

  IPhysicsEnvironment physenv.CreateEnvironment( )

Description

Creates a new physics environment. It will apply all settings from the main environment on the newly created on to match.

If you notice Physics objects that have a invalid entity, report this. But this should normally never happen. In this case, this means that something is failing to remove physics objects and it will cause random crashes.

Returns

1IPhysicsEnvironment IPhysicsEnvironment