C# Class BEPUphysics.Constraints.SolverSettings

Contains information about how a wheel solves its constraints.
Datei anzeigen Open project: Indiefreaks/igf Class Usage Examples

Public Properties

Property Type Description
DefaultMinimumImpulse float
DefaultMinimumIterations int

Property Details

DefaultMinimumImpulse public_oe static_oe property

The value to assign to new constraints' SolverSettings.MinimumImpulse. Impulses with magnitudes below this value will count as effectively zero in determining iteration early outs unless changed in the constraint's solver settings. High values quicken the short circuit but can cause instability, while low values will often prevent short circuiting, possibly increasing accuracy but harming performance. Defaults to .001f.
public static float DefaultMinimumImpulse
return float

DefaultMinimumIterations public_oe static_oe property

The value to assign to new constraints' SolverSettings.MinimumIterations. Constraints are able to skip extra calculations if deemed appropriate after they complete the minimum iterations. Higher values force the system to wait longer before trying to early out, possibly improving behavior. Defaults to 1.
public static int DefaultMinimumIterations
return int