pub type SpatialCollisionSystem2<S, T, Y = ()> = SpatialCollisionSystem<Primitive2<S>, T, (usize, TreeValueWrapped<Entity, Aabb2<S>>), Aabb2<S>, Y>;
Expand description

Spatial collision system for 2D, see SpatialCollisionSystem for more information.

Type parameters:

  • S: Scalar type (f32 or f64)
  • T: Transform
  • Y: Collider type, see Collider for more information