◇
component · drop-in viewer
What it does
SigmaCam
Fixed-angle top-down chase camera for Sigma Boy RPG.
Lives on the scene's PlayerPrototype CameraRig. It resolves its subject
through the standard Camera.follow slot, holds a constant downward
pitch, and eases toward the subject with a per-second exponential blend.
Fields
| Field | Meaning |
|---|---|
target | Entity id to follow. Empty falls back to Camera.follow. |
pitch | Downward tilt in radians (1.05 ≈ 60°). |
yaw | Compass rotation in radians. 0 looks along -Z. |
distance | Orbit radius in metres. |
focusHeight | Height added to the subject origin before framing. |
smoothing | Per-second exponential follow blend. 0 sticks instantly. |
useFocus | Frame focusX/focusY/focusZ instead of the subject. |
focusX / focusY / focusZ | The override focus point. |
Methods
snap()— drop the smoothing history so the next tick seats the camera exactly at its framing.
Battle framing
The game component turns useFocus on and writes the midpoint between
the player and the foe, then lowers distance, to pull the camera into
a duel shot. Turning useFocus back off returns it to the player.
Discussion
Scoped to this part · feeds back into the world's score.
Sign in to post.sign in
No comments yet. Be the first.