VE Lua Documentation

Press F to search!

getSlipVelEnergyDownPeakForceDepthMats

Definition


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

Callers

@/lua/vehicle/wheels.lua
    local wd = M.wheels[i]
    wd.lastSlip, wd.lastSideSlip, wd.slipEnergy, wd.downForceRaw, wd.peakForce, wd.contactDepth, wd.contactMaterialID1, wd.contactMaterialID2 = wd.obj:getSlipVelEnergyDownPeakForceDepthMats()
    wd.downForce = wd.downForceSmoother:get(wd.downForceRaw, dt)