Skip to content

Commit

Permalink
update docs and toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
aevyrie committed Aug 8, 2022
1 parent 1b98ffe commit d7fad24
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

**Simple 3D transform gizmo for bevy**

https://user-images.githubusercontent.com/2632925/164319240-75101823-877f-4f05-a47b-2c1348cf16fd.mp4
https://user-images.githubusercontent.com/2632925/183512583-a8d2b2de-4997-45bb-9565-0a86c06cda90.mp4

[![crates.io](https://img.shields.io/crates/v/bevy_transform_gizmo)](https://crates.io/crates/bevy_transform_gizmo)
[![docs.rs](https://docs.rs/bevy_transform_gizmo/badge.svg)](https://docs.rs/bevy_transform_gizmo)
Expand All @@ -24,7 +24,7 @@ cargo run --example minimal
# Features

* Prebuilt transform gizmo appears when you select a designated mesh
* Translation handles
* 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
Expand All @@ -43,7 +43,7 @@ You will need to add the transform gizmo plugin, as well as make sure you have a

```rust
.add_plugins(bevy_mod_picking::DefaultPickingPlugins)
.add_plugin(bevy_transform_gizmo::TransformGizmoPlugin)
.add_plugin(bevy_transform_gizmo::TransformGizmoPlugin::default())
```

Next, you will need to mark your picking camera as your gizmo camera:
Expand Down
2 changes: 2 additions & 0 deletions rust-toolchain
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[toolchain]
channel = "1.62.0"

0 comments on commit d7fad24

Please sign in to comment.