UpdateSolverActivity() 공개 메소드

Updates the activity state of the solver updateable based on its members.
public UpdateSolverActivity ( ) : void
리턴 void
예제 #1
0
 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();
     }
 }
예제 #2
0
파일: Solver.cs 프로젝트: Indiefreaks/igf
 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();
     }
 }