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

◆ PhysicsJoint

typedef int [] PhysicsJoint

Wrapper over joint simulation

Joint parameters

  • softness
    • 0->1, recommend ~0.8->1
    • describes % of limits where movement is free
    • beyond this softness %, the limit is gradually enforced until the "hard" (1.0) limit is reached
  • biasFactor
    • 0->1?, recommend 0.3 +/-0.3 or so
    • strength with which constraint resists zeroth order (angular, not angular velocity) limit violation
  • relaxationFactor
    • 0->1, recommend to stay near 1
    • the lower the value, the less the constraint will fight velocities which violate the angular limits

См. определение в файле PhysicsJoint.c строка 21