#2d #3d #arrow #bevy

bevy_arrows_plugin

A Bevy plugin for drawing arrows next to components. Very WIP

1 unstable release

Uses new Rust 2024

new 0.1.0 Apr 16, 2025

#962 in Game dev

Download history 100/week @ 2025-04-12

100 downloads per month

MIT license

42KB
236 lines

bevy_arrows_plugin

A Bevy plugin for drawing arrows next to components.

Very WIP, do not rely on the API remaining stable.

To use, simply add the plugin to the app:

App::new().add_plugins(BevyArrowsPlugin)

Then, when spawning an entity, add the VecArrow component:

commands.spawn((
    todo!(),
    VecArrow::new(Vec3::new(2.0, 2.0, 0.0), TargetCoordinateSpace::Local)
        .with_color(Color::linear_rgb(1.0, 1.0, 0.0)),
));

Dependencies

~46–77MB
~1.5M SLoC