Set Parent

STD Library
Lado del cliente
Solo en PC

Set the parent node of the object entity, supporting entities with Transform, SkeletonPart, Player, and MountPoint components mounted on them

Declaración

func SetParentClient(parent Hierarchical, child entity<Transform>, worldPositionStays bool)
go

Parámetros

Entrada

Nombre Tipo Descripción
Parent Mountable Parent Node
Child Transform Child Node
World Position Stays Bool Whether to keep the current world position, rotation and scale of the child node. This option is invalid in UI settings.