pub fn spawn_fixed_cuboid(
world: &mut World,
position: Vec3,
half_extents: Vec3,
friction: f32,
)Expand description
Spawn a fixed cuboid: a floor, a wall, whatever gameplay needs.
ยงPanics
Panics when the world carries no PhysicsWorld.