public BSFMotor ( string useName, float timeScale, float decayTimescale, float friction, float efficiency ) : System | ||
useName | string | |
timeScale | float | |
decayTimescale | float | |
friction | float | |
efficiency | float | |
return | System |
public BSFMotor(string useName, float timeScale, float decayTimescale, float friction, float efficiency)
: base(useName)
{
TimeScale = TargetValueDecayTimeScale = BSMotor.Infinite;
Efficiency = 1f;
FrictionTimescale = BSMotor.Infinite;
CurrentValue = TargetValue = 0f;
ErrorZeroThreshold = 0.01f;
}