transform-gizmo

3d transformation gizmo

APACHE-2.0 License

Downloads
25.8K
Stars
193
Committers
19

Bot releases are hidden (Show)

transform-gizmo - 0.3.0 - bevy 0.14, egui 0.28 Latest Release

Published by urholaukkarinen 4 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/urholaukkarinen/transform-gizmo/compare/0.2.0...0.3.0

transform-gizmo - 0.2.0 - subgizmo configuration, hotkeys and more

Published by urholaukkarinen 4 months ago

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 from GizmoOptions::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
transform-gizmo - 0.1.0 - initial transform-gizmo release

Published by urholaukkarinen 7 months ago

Major changes

  • Decoupling from Egui: The core transform-gizmo crate has been reorganized to operate independently of the egui library, allowing for more flexible integration with different frameworks.

  • New sub-crates:

    • transform-gizmo-egui: Integration to the egui library, providing similar api to the former egui-gizmo.
    • transform-gizmo-bevy: Bevy Plugin, enabling easy integration of transform-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