Progetto H — API Reference API & Scripting Documentation
Function Shared Fast

Player:RotateCameraTo

Smoothly moves the Player's Camera Rotation

Syntax

Lua
my_player:RotateCameraTo(rotation, time, exp = 0)

Parameters

Name Type Default Description
rotation Rotator
time float
exp optional float 0 Exponential used to smooth interp, use 0 for linear movement