Skip to content

0.2.0 - subgizmo configuration, hotkeys and more

Compare
Choose a tag to compare
@urholaukkarinen urholaukkarinen released this 09 Jun 10:29
· 34 commits to main since this release

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