VE Lua Documentation

Press F to search!

getForwardVector

Definition


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

Callers

@/lua/vehicle/controller/tech/idealRADARSensor.lua
  vel = obj:getVelocity()
  fwd = obj:getForwardVector():normalized()
  right = obj:getDirectionVectorRight():normalized()
@/lua/vehicle/extensions/tech/ACC.lua
    vel = obj:getVelocity()
    fwd = obj:getForwardVector():normalized()
    right = obj:getDirectionVectorRight():normalized()
@/lua/vehicle/extensions/tech/platooning.lua
  vel = obj:getVelocity()
  fwd = obj:getForwardVector():normalized()
  right = obj:getDirectionVectorRight():normalized()