protected UpdateUpdateable ( EntitySolverUpdateable item, float dt ) : void | ||
item | EntitySolverUpdateable | |
dt | float | |
Résultat | void |
protected void UpdateUpdateable(EntitySolverUpdateable item, float dt)
{
item.SolverSettings.currentIterations = 0;
item.SolverSettings.iterationsAtZeroImpulse = 0;
if (item.isActiveInSolver)
item.Update(dt);
}