Method | 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.
|
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. |
return | void |