pub trait Collision<S> {
// Required method
fn detect(&self, obj: &S) -> Relation;
}Expand description
Storing shape and position infomation, performs Collision Detection with the given S.
Also, as a component, used as a marker in ECS queries.