Click or drag to resize
DigitalRuneConstraintHelperComputeDampingConstant Method
Computes the damping constant from error reduction and softness parameters.

Namespace: DigitalRune.Physics.Constraints
Assembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax
public static float ComputeDampingConstant(
	float deltaTime,
	float errorReduction,
	float softness
)

Parameters

deltaTime
Type: SystemSingle
The time step size.
errorReduction
Type: SystemSingle
The error reduction parameter.
softness
Type: SystemSingle
The softness parameter.

Return Value

Type: Single
The damping constant.
See Also