VE Lua Documentation

Press F to search!

getDirectionVectorRight

Definition


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

Callers

@/lua/vehicle/controller/tech/idealRADARSensor.lua
  fwd = obj:getForwardVector():normalized()
  right = obj:getDirectionVectorRight():normalized()
  vehFront = obj:getFrontPosition()
@/lua/vehicle/extensions/tech/ACC.lua
    fwd = obj:getForwardVector():normalized()
    right = obj:getDirectionVectorRight():normalized()
    vehFront = obj:getFrontPosition()
@/lua/vehicle/extensions/advancedwheeldebug.lua
  local vehForward = obj:getDirectionVector()
  local vehRight = obj:getDirectionVectorRight()
@/lua/vehicle/extensions/tech/wheelForces.lua
  local upVector = obj:getDirectionVectorUp()
  --local leftVector = -obj:getDirectionVectorRight()
  --local forwardVector = obj:getDirectionVector()
@/lua/vehicle/extensions/tech/platooning.lua
  fwd = obj:getForwardVector():normalized()
  right = obj:getDirectionVectorRight():normalized()
  vehFront = obj:getFrontPosition()