BEPUphysics.SolverSystems.Solver.UnsafePrestep C# (CSharp) Method

UnsafePrestep() protected method

protected UnsafePrestep ( SolverUpdateable updateable ) : void
updateable SolverUpdateable
return void
        protected internal void UnsafePrestep(SolverUpdateable updateable)
        {
            updateable.UpdateSolverActivity();
            if (updateable.isActiveInSolver)
            {
                SolverSettings solverSettings = updateable.solverSettings;
                solverSettings.currentIterations = 0;
                solverSettings.iterationsAtZeroImpulse = 0;
                updateable.Update(timeStepSettings.TimeStepDuration);
                updateable.ExclusiveUpdate();
            }
        }