C# Class BEPUphysics.Constraints.SpringSettings

Specifies the way in which a constraint's spring component behaves.
Afficher le fichier Open project: Indiefreaks/igf

Méthodes publiques

Méthode Description
ComputeErrorReductionAndSoftness ( float dt, float &errorReduction, float &softness ) : void

Computes the error reduction parameter and softness of a constraint based on its constants. Automatically called by constraint presteps to compute their per-frame values.

Method Details

ComputeErrorReductionAndSoftness() public méthode

Computes the error reduction parameter and softness of a constraint based on its constants. Automatically called by constraint presteps to compute their per-frame values.
public ComputeErrorReductionAndSoftness ( float dt, float &errorReduction, float &softness ) : void
dt float Simulation timestep.
errorReduction float Error reduction factor to use this frame.
softness float Adjusted softness of the constraint for this frame.
Résultat void