Create Follow

Playable
Tanto lado del cliente como del usuario
Disponible en PC y móvil

Creates a following motion where the target entity follows the specified object.

Declaración

func CreateFollow(target entity<Entity>, followTarget entity<Entity>, offset Vector3, coordinateSystem CoordinateSystemType, out var createdEntity entity<Follow>, autoPlay bool)
go

Parámetros

Entrada

Nombre Tipo Descripción
Target Entity target entity
Follow Target Entity Object entities that follow the movement
Offset Vector3 Offset from the following target coordinates
Coordinate System CoordinateType Coordinate system used
Auto Play Bool Whether the playback starts automatically after creation

Afuera

Nombre Tipo Descripción
Created Entity PlayablePosFollow Created following motion entity