C# Класс BEPUphysics.Constraints.SpringSettings

Specifies the way in which a constraint's spring component behaves.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

ComputeErrorReductionAndSoftness() публичный метод

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.
Результат void