BEPUphysics.Vehicle.Vehicle.UpdateSolverActivity C# (CSharp) Метод

UpdateSolverActivity() публичный Метод

Updates the activity state of the wheel constraints.
public UpdateSolverActivity ( ) : void
Результат void
        public override void UpdateSolverActivity()
        {
            if (isActive)
            {
                isActiveInSolver = false;
                if (body.activityInformation.IsActive)
                {
                    foreach (Wheel wheel in Wheels)
                    {
                        wheel.UpdateSolverActivity();
                        isActiveInSolver = isActiveInSolver || wheel.isActiveInSolver;
                    }
                }
            }
            else
                isActiveInSolver = false;
        }