Type Definition rhusics_ecs::collide2d::CollisionShape2

source ·
pub type CollisionShape2<S, T, Y = ()> = CollisionShape<Primitive2<S>, T, Aabb2<S>, Y>;
Expand description

Collision shape for 2D, see CollisionShape for more information

Type parameters:

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