CameraFollowOptions
Defined in: src/modules/camera/camera.ts:149
Options for makeFollowCameraSystem.
Properties
Section titled “Properties”cameraTag
Section titled “cameraTag”cameraTag:
TagDef
Defined in: src/modules/camera/camera.ts:151
deadzoneH?
Section titled “deadzoneH?”
optionaldeadzoneH?:number
Defined in: src/modules/camera/camera.ts:153
Deadzone half-height (world units); the camera chases vertically only once the target leaves this band.
deadzoneW?
Section titled “deadzoneW?”
optionaldeadzoneW?:number
Defined in: src/modules/camera/camera.ts:155
Deadzone half-width (world units); the camera chases horizontally only once the target leaves this band.
optionalname?:string
Defined in: src/modules/camera/camera.ts:150
positionDef
Section titled “positionDef”positionDef:
ComponentDef<{x:number;y:number; }>
Defined in: src/modules/camera/camera.ts:156
runAfter?
Section titled “runAfter?”
optionalrunAfter?:string[]
Defined in: src/modules/camera/camera.ts:157
smoothing?
Section titled “smoothing?”
optionalsmoothing?:number
Defined in: src/modules/camera/camera.ts:159
Exponential smoothing speed (per second); omit for an instant snap (Godot position_smoothing). Requires dtMs on the tick ctx.
targetTag
Section titled “targetTag”targetTag:
TagDef
Defined in: src/modules/camera/camera.ts:160