concinnity_core/components/collider.rs
1// src/components/collider.rs
2
3use crate::components::PropCollider;
4
5/// Collision volume attached to an entity, in local space scaled by the
6/// entity's transform.
7///
8/// Runtime-only. Carries the same shape description a `Prop` declares through
9/// its `collider` field.
10#[derive(Debug, Clone, Default)]
11pub struct Collider(pub PropCollider);