nanos world API Reference Unofficial documentation
Function Shared Fast

CharacterSimple:SetSpringArmSettings

Sets the Spring Arm Settings of this Character

Syntax

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)

Parameters

Name Type Default Description
relative_location optional Vector Vector(0, 0, -1) Pass nil to use default as capsule height * 1.8
target_arm_length optional float 300.0
socket_offset optional Vector Vector(0, 0, 0)
enable_camera_lag optional boolean true
camera_lag_speed optional float 15.0
camera_lag_max_distance optional float 1.0