DayZ 1.29
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ SetSpring() [2/2]

proto external void Physics6DOFSpringJoint::SetSpring ( int axis,
float stiffness,
float damping )
private

Sets spring parameters on a particular axis. When stiffness == -1 && damping == -1, spring is disabled.

Аргументы
axisAxis to be modified
stiffnessValue of the spring stiffness (Hooke's Law)
dampingValue of the spring damping. Between 0 and 1 (1 == no damping)