9 releases (breaking)

0.8.0 May 5, 2025
0.7.0 Dec 7, 2024
0.6.0 Jul 5, 2024
0.5.0 Feb 23, 2024
0.1.1 Nov 14, 2022

#1881 in Game dev

Download history 12/week @ 2026-01-24 53/week @ 2026-01-31 1/week @ 2026-02-14 3/week @ 2026-02-21 12/week @ 2026-02-28 999/week @ 2026-03-07 213/week @ 2026-03-14 214/week @ 2026-03-21 767/week @ 2026-03-28 2778/week @ 2026-04-04 3979/week @ 2026-04-11 2676/week @ 2026-04-18 2369/week @ 2026-04-25 2007/week @ 2026-05-02 2256/week @ 2026-05-09

9,932 downloads per month
Used in 3 crates

MIT/Apache

33KB
188 lines

Bevy Spectator

crates.io crates.io docs.rs

A spectator camera plugin for the Bevy game engine.

Controls

Action Key
Forward W
Left A
Backward S
Right D
Up Space
Down ControlLeft
Alternative Speed ShiftLeft
Release Cursor Escape

Movement is constrained to the appropriate axes. (WASD to X & Z axes, Space & ShiftLeft to the Y axis)

When in orthographic mode, only WASD is used.

Basic example

use bevy::prelude::*;
use bevy_spectator::*;

fn main() {
    App::new()
        .add_plugins((DefaultPlugins, SpectatorPlugin))
        .add_systems(Startup, setup)
        .run();
}

fn setup(mut commands: Commands) {
    commands.spawn((
        Camera3d::default(), Spectator
    ));
}

Bevy compatibility

bevy bevy_spectator
0.16 0.8
0.15 0.7
0.14 0.6
0.13 0.5
0.12 0.4
0.11 0.3
0.10 0.2
0.9 0.1

Dependencies

~37MB
~666K SLoC