CameraFollowOptions
Defined in: renderer/src/CameraComponent.ts:19
Options for camera follow behavior.
Properties
Section titled “Properties”deadzone?
Section titled “deadzone?”
optionaldeadzone?:object
Defined in: renderer/src/CameraComponent.ts:25
Deadzone rectangle (half-width, half-height). Camera won’t move when target is inside.
halfHeight
Section titled “halfHeight”halfHeight:
number
halfWidth
Section titled “halfWidth”halfWidth:
number
offset?
Section titled “offset?”
optionaloffset?:Vec2Like
Defined in: renderer/src/CameraComponent.ts:23
Offset from the target position.
smoothing?
Section titled “smoothing?”
optionalsmoothing?:number
Defined in: renderer/src/CameraComponent.ts:21
Smoothing factor 0..1. 1 = instant snap, lower = smoother. Default: 1.