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

Player:AttachCameraTo

Attaches the Player`s Camera to an Actor

Syntax

Lua
my_player:AttachCameraTo(actor, socket_offset = Vector(0, 0, 0), blend_speed = 0.0)

Parameters

Name Type Default Description
actor Actor
socket_offset optional Vector Vector(0, 0, 0)
blend_speed optional float 0.0