Riferimento API di nanos world Documentazione italiana non ufficiale
Documentazione ufficiale
Funzione Condiviso Veloce

CharacterSimple:SetSpringArmSettings

Sets the Spring Arm Settings of this Character

Non ancora tradotto

Sintassi

Lua
my_character_simple:SetSpringArmSettings(relative_location = Vector(0, 0, -1), target_arm_length = 300.0, socket_offset = Vector(0, 0, 0), enable_camera_lag = true, camera_lag_speed = 15.0, camera_lag_max_distance = 1.0)

Parametri

Nome Tipo Predefinito Descrizione
relative_location facoltativo Vector Vector(0, 0, -1) Pass nil to use default as capsule height * 1.8
target_arm_length facoltativo float 300.0
socket_offset facoltativo Vector Vector(0, 0, 0)
enable_camera_lag facoltativo boolean true
camera_lag_speed facoltativo float 15.0
camera_lag_max_distance facoltativo float 1.0