C# 클래스 BEPUphysics.Constraints.SpringSettings

Specifies the way in which a constraint's spring component behaves.
파일 보기 프로젝트 열기: Indiefreaks/igf

공개 메소드들

메소드 설명
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