mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
b5d24d8fb2
# Objective Add a bounding box gizmo ![Screenshot from 2023-04-22 23-49-40](https://user-images.githubusercontent.com/29694403/233808825-7593dc38-0623-48a9-b0d7-a4ca24a9e071.png) ## Changes - Added the `AabbGizmo` component that will draw the `Aabb` component on that entity. - Added an option to draw all bounding boxes in a scene on the `GizmoConfig` resource. - Added `TransformPoint` trait to generalize over the point transformation methods on various transform types (e.g `Transform` and `GlobalTransform`). - Changed the `Gizmos::cuboid` method to accept an `impl TransformPoint` instead of separate translation, rotation, and scale. |
||
---|---|---|
.. | ||
scene_viewer | ||
gamepad_viewer.rs |