Expand description

A 3D transformation Gizmo for the Bevy game engine.

transform-gizmo-bevy provides a feature-rich and configurable 3D transformation gizmo that can be used to manipulate entities’ transforms (position, rotation, scale) visually.

§Usage

Add TransformGizmoPlugin to your App.

use bevy::prelude::*;
use transform_gizmo_bevy::prelude::*;

App::new()
    .add_plugins(DefaultPlugins)
    .add_plugins(TransformGizmoPlugin)
    .run();

Add GizmoCamera component to your Camera entity.

Add GizmoTarget component to any of your entities that you would like to manipulate the Transform of.

§Configuration

You can configure the gizmo by modifying the GizmoOptions resource.

You can either set it up with App::insert_resource when creating your App, or at any point in a system with ResMut<GizmoOptions>.

Modules§

Macros§

  • Creates a EnumSet literal, which can be used in const contexts.

Structs§

Enums§