VE Lua Documentation

Press F to search!

getNodesVector

Definition


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

Callers

@/lua/vehicle/controller/playerController.lua

  forceVectorFront = obj:getNodesVector(stabilizationNodes.topCenter, stabilizationNodes.topFront):normalized() * frontRearForceCoef * forceMultiplier
  forceVectorLeft = obj:getNodesVector(stabilizationNodes.topCenter, stabilizationNodes.topLeft):normalized() * leftRightForceCoef * forceMultiplier
  forceVectorFront = obj:getNodesVector(stabilizationNodes.topCenter, stabilizationNodes.topFront):normalized() * frontRearForceCoef * forceMultiplier
  forceVectorLeft = obj:getNodesVector(stabilizationNodes.topCenter, stabilizationNodes.topLeft):normalized() * leftRightForceCoef * forceMultiplier