bevy_arrows_plugin

Crates.iobevy_arrows_plugin
lib.rsbevy_arrows_plugin
version0.1.0
created_at2025-04-16 07:49:49.337515+00
updated_at2025-04-16 07:49:49.337515+00
descriptionA Bevy plugin for drawing arrows next to components. Very WIP
homepagehttps://github.com/danya02/bevy_arrows_plugin
repositoryhttps://github.com/danya02/bevy_arrows_plugin
max_upload_size
id1636096
size166,112
Danya Generalov (danya02)

documentation

README

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)),
));
Commit count: 5

cargo fmt