CameraFollow beta
Interface of @v12-engine/client
ts
export interface CameraFollowHow the camera stays on an entity (GameClient.follow)
Members
offset
ts
offset?: Vec2;Where the view looks from the entity, in cells: ahead of it, say. On it when left out
smoothing
ts
smoothing?: number;About how many seconds the view is behind it, catching up smoothly. Right on it when left out, or 0