Bevy Prank
Opinionated Unreal Engine inspired spectator camera for the Bevy game engine.
✨ Features
-
Provides smooth interpolation for movement without sacrificing camera's translation.
-
Includes an optional HUD overlay to display important information like FOV and FPS.
-
Automatically grabs cursor when MMB/RMB is held.
-
Allows complete control over movement via LShift prefixed controls.
📦 Installation
-
Install the crate using
cargo -
Add
PrankPluginto your appuse *; use *;
🚀 Usage
Spawn a Camera3dBundle along with a Prank3d component
use *;
use *;
For further information see examples.
🎮 Controls
| Control | Action |
|---|---|
| MMB + Drag | Offsets the camera on its local x (left/right) and y (top/bottom) axes |
| RMB + Drag | Rotates the camera |
| RMB + Scroll | Adjusts movement speed |
| RMB + W A S D | Moves the camera on its local x (left/right) and z (front/back) axes |
| RMB + E Q | Moves the camera on the y (top/bottom) axis |
| RMB + LShift + W A S D E Q | Moves the camera on the x (left/right), y (top/bottom) axes, and z (front/back) axes |