Function amethyst_rhusics::setup_3d_arena[][src]

pub fn setup_3d_arena<Y>(
    min: Point3<f32>,
    max: Point3<f32>,
    types: (Y, Y, Y, Y, Y, Y),
    world: &mut World
) where
    Y: Default + Send + Sync + 'static, 

Setup 3D arena.

An arena is a space with invisible walls around it, which have collision shapes defined.

Parameters:

  • min: Minimum corner of the arena
  • max: Maximum corner of the arena
  • types: Collider type of each arena barrier in order: Left, Right, Bottom, Top, Front, Back
  • world: World

Type parameters:

  • Y: Collider type