Riferimento API di nanos world Documentazione italiana non ufficiale
Documentazione ufficiale
Funzione Server Moderato

Cable:AttachStartTo

Attaches the beginning of this cable to another Actor at a specific bone or relative location. For optimization, it is recommended attaching start first if you wish to attach both start and end, to avoid double calculations.

Non ancora tradotto

Sintassi

Lua
my_cable:AttachStartTo(other, relative_location = Vector(0, 0, 0), bone_name = "")

Parametri

Nome Tipo Predefinito Descrizione
other Actor
relative_location facoltativo Vector Vector(0, 0, 0)
bone_name facoltativo string "" Which bone to attach to. If empty it will be attached to the Actor, otherwise to the Mesh at the bone/socket

Valore restituito

  • boolean attached_successfully if it was attached successfully