GE Lua Documentation

Press F to search!

setNewtonRotation

Definition


-- @/lua/ge/extensions/core/camera.lua:1115

local function setNewtonRotation(pid, ...)
  return proxy_PID(pid, 'setNewtonRotation', ...)
end

Callers

@/lua/ge/extensions/editor/api/camera.lua
  if not commands.isFreeCamera() then return end
  core_camera.setNewtonRotation(0, value)
end
@/lua/ge/extensions/core/cameraModes/free.lua

function C:setNewtonRotation(enabled)
  self.newtonRotation = enabled