Create Skeleton Part Look-at Controller

Avatar
Lado del cliente
Solo en PC

After creating a skeleton part look-at controller entity, you can use this entity to control the specified skeleton part and make it always face a specific target.

Declaración

func CreateSkeletonPartLookAtController(out var createdEntity entity<SkeletonPartLookAtController>, controlledTarget entity<SkeletonPart>, lookAtTarget entity<Transform>)
go

Parámetros

Entrada

Nombre Tipo Descripción
Controlled Target SkeletonPart The skeleton part that is being controlled
Look-at Target Transform The target that is being looked at

Afuera

Nombre Tipo Descripción
Created Entity SkeletonPartLookAtController The skeleton part look-at controller entity. If the entity is destroyed, the look-at functionality will cease.