Create Skeleton Part Look-at Controller

صورة
جانب العميل
الكمبيوتر الشخصي فقط

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.

إقرار

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

معلمات

إدخال

اسم نوع تفاصيل
Controlled Target SkeletonPart The skeleton part that is being controlled
Look-at Target Transform The target that is being looked at

خارج

اسم نوع تفاصيل
الكيان المُنشأ SkeletonPartLookAtController The skeleton part look-at controller entity. If the entity is destroyed, the look-at functionality will cease.