VE Lua Documentation

Press F to search!

getClusterVelocityWithoutWheels

Definition


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

Callers

@/lua/vehicle/thrusters.lua
  nodeId = nodeId or (v.data.refNodes and v.data.refNodes[0].cid) or 0
  applyAccel((velocity - obj:getClusterVelocityWithoutWheels(nodeId)) / dt, dt, nodeId)
end
@/lua/vehicle/scriptai.lua
        local up = obj:getDirectionVectorUp()
        local vel = obj:getClusterVelocityWithoutWheels(v.data.refNodes and v.data.refNodes[0].cid or 0)
        local fwd = (p2 - p1):normalized()