GE Lua Documentation

Press F to search!

getRotXYZW

Definition


-- @/lua/ge/extensions/gameplay/walk.lua:324

local function getRotXYZW()
  local unicycle = getPlayerUnicycle()
  if active and unicycle then
    return core_camera.getQuatXYZW()
  end
end

Callers

@/lua/ge/extensions/ui/apps/minimap/vehicles.lua
    pos:set(gameplay_walk.getPosXYZ())
    rot:set(gameplay_walk.getRotXYZW())
    fwd:setRotate(rot, localFwd)