Skip to main content

step_once

Function step_once 

Source
pub fn step_once(world: &World) -> bool
Expand description

Step the rapier world once, draining its contacts into PhysicsContacts.

Returns whether world carries a PhysicsWorld at all. A physics world’s own tick calls this; thread-free callers — deterministic tests, offline rendering — drive the same simulation on a cadence of their own.