Expand description

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.

Structs§

Functions§

Type Aliases§

  • Given the box frame’s current extents, returns the desired scaling factor of the handle’s [Transform].