Static Orbit Cam

A phantom camera that maintains a fixed orbital position around its target — no player input, fixed distance and angle.

The Static Orbit Cam is a specialized Phantom Camera type that maintains a fixed orbital position around its follow target. Unlike an input-driven orbit camera, the Static Orbit Cam holds a constant distance, pitch, and yaw relative to the target — the player does not control the orbit angle. The camera automatically rotates to keep the target centered while maintaining its fixed offset.

This camera type is useful for fixed-perspective gameplay (top-down, isometric, side-scrolling), environmental showcase views, and pre-positioned cinematic angles where the camera should orbit a subject without player control.

For usage guides and setup examples, see The Basics: GS_PhantomCam.


How It Works

The StaticOrbitPhantomCamComponent extends GS_PhantomCameraComponent and overrides the follow pipeline to maintain a fixed orbital offset. Each tick:

  1. The component reads the follow target’s world position.
  2. It applies the configured orbit distance, pitch, and yaw to compute the camera’s world position relative to the target.
  3. The camera rotates to face the target.
  4. Standard Phantom Camera look-at processing applies on top if a separate look-at target is configured.

Because the orbit parameters are fixed, the camera smoothly tracks the target’s movement while preserving the same viewing angle at all times.


Setup

  1. Create an entity and add GS_PhantomCameraComponent.
  2. Add StaticOrbitPhantomCamComponent to the same entity.
  3. Set the Follow Target to the entity the camera should orbit around.
  4. Configure the orbit Distance, Pitch, and Yaw on the Static Orbit component.
  5. Set the Priority on the Phantom Camera component.
  6. The camera registers with the Cam Manager automatically on activation.

Inspector Properties

PropertyTypeDescription
OrbitDistancefloatThe fixed distance from the camera to the follow target.
OrbitPitchfloatThe vertical angle of the orbit in degrees. 0 is level; positive values look down.
OrbitYawfloatThe horizontal angle of the orbit in degrees. 0 faces the target’s forward direction.

See Also


Get GS_PhantomCam

GS_PhantomCam — Explore this gem on the product page and add it to your project.