Skip to content

Commit f951ed3

Browse files
authored
Fix plugin table (#565)
# Objective The plugin table for the docs of `PhysicsPlugins` mentions `PhysicsDebugPlugin` as a plugin that is added by default, but it isn't. `PhysicsPickingPlugin` on the other hand isn't mentioned at all. ## Solution Add a separate table for additional plugins.
1 parent 6370ce6 commit f951ed3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,13 @@ use prelude::*;
530530
/// | [`SleepingPlugin`] | Manages sleeping and waking for bodies, automatically deactivating them to save computational resources. |
531531
/// | [`SpatialQueryPlugin`] | Handles spatial queries like [raycasting](spatial_query#raycasting) and [shapecasting](spatial_query#shapecasting). |
532532
/// | [`SyncPlugin`] | Keeps [`Position`] and [`Rotation`] in sync with `Transform`. |
533+
///
534+
/// Optional additional plugins include:
535+
///
536+
/// | Plugin | Description |
537+
/// | --------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
533538
/// | [`PhysicsDebugPlugin`] | Renders physics objects and events like [AABBs](ColliderAabb) and [contacts](Collision) for debugging purposes (only with `debug-plugin` feature enabled). |
539+
/// | [`PhysicsPickingPlugin`] | Enables a physics picking backend for [`bevy_picking`](bevy::picking) (only with `bevy_picking` feature enabled). |
534540
///
535541
/// Refer to the documentation of the plugins for more information about their responsibilities and implementations.
536542
///

0 commit comments

Comments
 (0)