#bevy #gizmo #3d #box #pointers #picking #obb

bevy_fsl_box_frame

A gizmo for manipulating an OBB via 3D picking

6 releases (3 breaking)

0.4.1 Jan 24, 2025
0.4.0 Oct 31, 2024
0.3.0 Sep 24, 2024
0.2.0 Feb 24, 2024
0.1.0 Dec 16, 2023

#795 in Game dev

Download history 163/week @ 2024-10-27 174/week @ 2024-11-03 80/week @ 2024-11-10 138/week @ 2024-11-17 240/week @ 2024-11-24 220/week @ 2024-12-01 290/week @ 2024-12-08 365/week @ 2024-12-15 138/week @ 2024-12-22 150/week @ 2024-12-29 482/week @ 2025-01-05 352/week @ 2025-01-12 409/week @ 2025-01-19 441/week @ 2025-01-26 391/week @ 2025-02-02 468/week @ 2025-02-09

1,710 downloads per month

MIT/Apache

540KB
683 lines

3D OBB with pointer-based manipulation features.

demo

We say "frame" because only the 12 edges of the box are rendered via bevy_polyline.

Faces of the box can be dragged by the pointer to manipulate the box extents. As the pointer hovers over each face, visual feedback is provided (highlight material).

Depends on bevy_mod_picking::DefaultPickingPlugins and bevy_polyline::PolylinePlugin.

Dependencies

~52–89MB
~1.5M SLoC