bevy_shape_draw
A Bevy plugin for drawing a shape using raycasting in 3d space with a mouse. This plugin is build on and relies on bevy_mod_raycast
.
The only shape that can be drawn at the moment is a box of fixed height
Add the plugin to the [dependencies]
in Cargo.toml
= "0.1"
You will need to add the Draw Shape Plugin.
.add_plugin
Then you will have to add the raycast source to your camera.
.insert
Finally, mark any meshes that you want to be able to draw shapes on.
.insert
Example
cargo run --example simple
cargo run --example events