Skip to main content

spawn_floor

Function spawn_floor 

Source
pub fn spawn_floor(scene: &Scene)
Expand description

Put the ground under the scene: one fixed body in physics, one instance in the render world.

Nothing waits for the instance: one that arrives a frame late is simply a frame without a floor.