diff --git a/src/collision/collider/constructor.rs b/src/collision/collider/constructor.rs index 9a6b1c2a..3c4a93d7 100644 --- a/src/collision/collider/constructor.rs +++ b/src/collision/collider/constructor.rs @@ -12,7 +12,8 @@ use itertools::Either; /// In contrast to [`ColliderConstructor`], this component will *not* generate a collider on its own entity. /// /// If this component is used on a scene, such as one spawned by a [`SceneRoot`], it will -/// wait until the scene is loaded before generating colliders. +/// wait until the scene is loaded before generating colliders. Note that this requires +/// the `bevy_scene` feature to be enabled. /// /// The exact configuration for each descendant can be specified using the helper methods /// such as [`with_constructor_for_name`](Self::with_constructor_for_name). @@ -30,6 +31,9 @@ use itertools::Either; /// /// # Example /// +/// Below are some examples of using [`ColliderConstructorHierarchy`] to generate colliders +/// for a glTF scene at runtime. Note that this requires the `bevy_scene` feature to be enabled. +/// /// ``` #[cfg_attr(feature = "2d", doc = "use avian2d::prelude::*;")] #[cfg_attr(feature = "3d", doc = "use avian3d::prelude::*;")]