Breuss Flying Camera


Features ... Rotation options: lock yaw, lock pitch, clamp pitch to ±90° so the camera never flips, ... Detailed PDF documentation and a README file included How it benefits your project


by Breuss Games


Price History +

Ready-to-use free-flight camera for Unity. Works with both input systems and Built-in, URP, HDRP. Ideal for prototyping, level testing, debugging and as an in-game free camera.

Technical details

  • Unity version: 2021.3 or newer
  • Render pipelines: Built-in, URP, HDRP (demo scene for each)
  • Input: legacy Input Manager and new Input System (if both are enabled, the new Input System is used)
  • Language: C#, full source code included, no DLLs; fully commented
  • Main component: FlyingCamera (namespace Breuss), ready-to-use prefab BreussFlyingCamera
  • Dependencies: none for the camera itself. TextMeshPro is required only for the optional UI prefab; an editor script checks for it and prompts to install if missing
  • Package contents: scripts, prefabs, Input Actions asset, demo scenes and materials for three pipelines, PDF documentation, README

Breuss Flying Camera is a ready-to-use solution for free-flight camera navigation in Unity. Instead of writing and debugging your own fly-camera controller for every new project, you add one prefab to your scene and get smooth, fully configurable camera movement right away. It works with both Unity input systems and supports three render pipelines (Built-in, URP, and HDRP). There are numerous settings that allow you to tailor the camera’s flight to your project’s requirements. All source code is thoroughly commented so that users with C# programming skills can modify or extend the camera’s behavior in even more flexible ways.


Features

  • Free-flight movement (WASD) and mouse look in any direction
  • Adjustable movement speed: initial speed, speed range, mouse wheel speed control and a speed-up key (Shift) with a configurable multiplier
  • Optional smooth acceleration and deceleration, or instant start and stop
  • Rotation options: lock yaw, lock pitch, clamp pitch to ±90° so the camera never flips, rotate only while a mouse button is held
  • Flight area limits: restrict height and horizontal distance relative to a center point
  • Collision handling: the camera slides along obstacles instead of passing through them; configurable radius and layer mask
  • Works with the legacy Input Manager (keys configurable in the Inspector) and the new Input System (bindings configurable in the included Input Actions asset)
  • Works with Built-in, URP and HDRP; a demo scene for each pipeline is included
  • Independent of Time.timeScale (optional), so the camera stays responsive during slow motion or pause
  • Optional ready-made UI prefab: debug info panel, crosshair and control hints, toggled with hotkeys (F1–F4)
  • Simple public API (the FlyingCamera component in the Breuss namespace) to freeze or release the camera from code and to read its current speed, position, height, distance and rotation, handy for your own UI or game logic
  • Detailed PDF documentation and a README file included

How it benefits your project

  • Saves development time: no need to write, test and debug a camera controller from scratch
  • Speeds up prototyping and level design: quickly inspect any scene from any angle
  • Helps with testing and debugging: check geometry, lighting, occlusion, performance and scale from places a player camera never reaches
  • Can be shipped directly in your game wherever a free camera is needed: spectator mode, photo mode, replay or cinematic fly-through camera, in-game tools
  • Fully commented C# source code lets you adapt the behavior to your own needs

Problems it solves

  • No need to rewrite the camera when switching between input systems or render pipelines: one asset works in all of them
  • Prevents common free-camera problems: flipping upside down, flying through walls, flying out of the level, losing control of the mouse cursor
  • Gives you a tested, configurable camera right away, so you can focus on your actual game