nanos world API Reference Unofficial documentation
Function Server Fast

Character:SetCameraMode

Sets the Camera Mode (i.e. Only TPS, FPS or if allow both)<br/><br/>Using FPSOnly CameraMode on AI will lock his body rotation (when using LookAt)

Syntax

Lua
my_character:SetCameraMode(camera_mode)

Parameters

Name Type Default Description
camera_mode CameraMode