//! Prebuilt bundles of physics components, nesting the engine's
//! [`SpatialBundle`](crate::ecs::bundles::SpatialBundle).
use crate::ecs::bundles::SpatialBundle;
use crate::plugins::physics::components::{ColliderComponent, RigidBodyComponent};
nightshade_ecs::bundle! {
/// A rigid body with a collider.
pub struct RigidBodyBundle {
pub spatial: SpatialBundle,
pub rigid_body: RigidBodyComponent,
pub collider: ColliderComponent,
}
}