Skip to content

cf_physics_step3

Category: physics
GitHub: cute_physics.h


Steps a Box3D world using CF's clock.

void cf_physics_step3(b3WorldId world, int substep_count);
Parameters Description
world The world to step.
substep_count Box3D solver sub-steps, typically 4.

Remarks

Identical wiring to the 2d cf_physics_step: call from your fixed-update callback with cf_set_fixed_timestep enabled; falls back to the variable frame dt otherwise.

cf_physics_step
cf_physics_draw3
cf_set_fixed_timestep