Skip to content

tim-blackbird/irate_transform_gizmo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Irate Transform Gizmo

A transform gizmo for bevy

crates.io docs.rs CI

Forked from ForesightMiningSoftwareCorporation/bevy_transform_gizmo

Demo

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

cargo run --example demo

Or read the demo code for an example.

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

Differences from bevy_transform_gizmo

  • Rotating with multiple items selected rotates the objects around the midpoint rather than their individual origins.
  • Basic 2D support. Currently uses the same gizmo as 3D but a 2D specific gizmo is coming.

Usage

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

License

irate_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.

About

A transform gizmo for bevy

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks