Releases: urholaukkarinen/transform-gizmo
Releases Β· urholaukkarinen/transform-gizmo
0.4.0 - egui 0.29, fixes
What's Changed
- Updated egui and glam to 0.29
- Fixed egui gizmo rendering with the default viewport in #75
- Fixed incorrect transformations caused by accumulating errors in rotation in #80
- Fixed painter clipping in transform-gizmo-egui in #82
- Fixed gizmo responding to mouse input through other UI elements (egui only) in #83
Contributors
@kvark, @burtonageo, @urholaukkarinen
New Contributors
Full Changelog: 0.3.0...0.4.0
0.3.0 - bevy 0.14, egui 0.28
0.2.0 - subgizmo configuration, hotkeys and more
New features
- Subgizmo configuration: You can now configure each individual subgizmo separately
- Customizable pivot point: You can now choose to rotate either around the median point of targets or around each target's individual origin
- Hotkeys:
transform-gizmo-bevy
now supports configurable hotkeys for the gizmo interactions. They are disabled by default, but can be enabled fromGizmoOptions::hotkeys
. - Customizable viewport: By default, the full window size is used as the viewport for the gizmo, but you can now provide a custom rect for scaling the cursor position when interacting with the gizmo. This is useful when the gizmo is rendered to an offscreen texture. Thanks @ThomasAlban!
Fixes
- Gizmo camera now works properly when it is a child of another entity. Thanks @AlexAegis!
- Multiple GizmoCamera entities are now supported, as long as only one of them is active. Thanks @rlidwka!
- Fixed incorrect initial gizmo config when using Gizmo::new(config)
- Translation/rotation now works properly with multiple targets in local orientation mode
0.1.0 - initial transform-gizmo release
Major changes
-
Decoupling from Egui: The core
transform-gizmo
crate has been reorganized to operate independently of theegui
library, allowing for more flexible integration with different frameworks. -
New sub-crates:
transform-gizmo-egui
: Integration to theegui
library, providing similar api to the formeregui-gizmo
.transform-gizmo-bevy
: Bevy Plugin, enabling easy integration oftransform-gizmo
to the Bevy Engine.
New features
- Multiple modes: Any combination of rotation, translation and scale modes now can be enabled for a gizmo.
- Multiple targets: A gizmo can now manipulate multiple targets as a group.
Fixes
- Fixed strange transformations in certain angles when rotating
- Minor picking improvements
Other changes
- Minor improvements to the look and feel of the gizmo, such as the colored fill in the rotation gizmo.
Migration from egui-gizmo
For uses migrating from the egui-gizmo
crate, please refer to the transform-gizmo-egui documentation.
Getting started
# For egui-based apps
cargo add transform-gizmo-egui
# For bevy-based apps
cargo add transform-gizmo-bevy
# For apps without bevy or egui
cargo add transform-gizmo