23 unstable releases

new 0.12.1 Nov 5, 2024
0.12.0 Jul 9, 2024
0.11.4 Nov 5, 2024
0.11.3 Jun 26, 2024
0.1.0 Jan 25, 2022

#556 in Game dev

Download history 1938/week @ 2024-07-20 4373/week @ 2024-07-27 2511/week @ 2024-08-03 2897/week @ 2024-08-10 3478/week @ 2024-08-17 4778/week @ 2024-08-24 3494/week @ 2024-08-31 2381/week @ 2024-09-07 679/week @ 2024-09-14 767/week @ 2024-09-21 214/week @ 2024-09-28 217/week @ 2024-10-05 203/week @ 2024-10-12 61/week @ 2024-10-19 69/week @ 2024-10-26 487/week @ 2024-11-02

859 downloads per month
Used in 2 crates

MIT/Apache

57KB
1.5K SLoC

Demo

Run a minimal implementation of the gizmo by cloning this repository and running:

cargo run --example minimal

Features

  • Prebuilt transform gizmo appears when you select a designated mesh
  • Translation handles (axis, plane, and normal to camera)
  • Rotation handles
  • Gizmo always renders on top of the main render pass
  • Gizmo is always the same size at it moves closer/further from the camera

Usage

This plugin is built on and relies on bevy_mod_picking for 3d mouse interaction with the scene.

See the minimal demo for an example of a minimal implementation.

License

bevy_transform_gizmo is free and open source! All code in this repository is dual-licensed under either:

at your option. This means you can select the license you prefer! This dual-licensing approach is the de-facto standard in the Rust ecosystem and there are very good reasons to include both.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~46–83MB
~1.5M SLoC