VE Lua Documentation

Press F to search!

isRotatingBrakeCouple

Definition


-- @/=[C]:-1
function isRotatingBrakeCouple(...)

Callers

@/lua/vehicle/wheels.lua
      local isUnderWater = 1 + (obj:inWater(wd.node1) and wd.underwaterSurfaceCoolingCoef or 0)
      local isRotatingBrakeCouple = wd.obj:isRotatingBrakeCouple() --0,1 coef based on instability detection of the wheel AV inside the core
      local avBrakeCouple = wd.angularVelocityBrakeCouple * isRotatingBrakeCouple