15 releases (breaking)

0.11.0 Apr 12, 2024
0.10.0 Jan 25, 2024
0.9.0 Nov 6, 2023
0.7.0 Jun 27, 2023
0.1.0 Jan 25, 2022

#40 in Game dev

Download history 316/week @ 2024-01-01 633/week @ 2024-01-08 1057/week @ 2024-01-15 514/week @ 2024-01-22 678/week @ 2024-01-29 294/week @ 2024-02-05 34/week @ 2024-02-12 510/week @ 2024-02-19 626/week @ 2024-02-26 849/week @ 2024-03-04 1163/week @ 2024-03-11 705/week @ 2024-03-18 839/week @ 2024-03-25 700/week @ 2024-04-01 387/week @ 2024-04-08 1053/week @ 2024-04-15

2,980 downloads per month
Used in bevy_gaussian_splatting

MIT/Apache

57KB
1K 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.

Sponsors

The creation and maintenance of Bevy Transform Gizmo is sponsored by Foresight Spatial Labs.

Dependencies

~47–87MB
~1M SLoC