Set Camera Follow

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

Set the position of the camera entity to always follow the target entity

Declaración

func SetCameraFollow(camera entity<Entity>, target entity<Entity>, offset Vector3, coordinateSystem CoordinateSystemType)
go

Parámetros

Entrada

Nombre Tipo Descripción
Camera Entity target camera entity
Target Entity Target entity to follow
Offset Vector3 Offset from target entity coordinates
Coordinate System CoordinateType Coordinate system for offsets