Skip to content

feat: testbed rework to avoid the callback patterns#956

Merged
sebcrozet merged 2 commits into
masterfrom
testbed-rework
Jul 4, 2026
Merged

feat: testbed rework to avoid the callback patterns#956
sebcrozet merged 2 commits into
masterfrom
testbed-rework

Conversation

@sebcrozet

@sebcrozet sebcrozet commented Jul 4, 2026

Copy link
Copy Markdown
Member

This is a rework of the Rapier testbed. In particular, the testbed no longer owns the physics scene. So the example is responsible for running the render loop, making it much easier to write example that reacts to, e.g., physics events (like the sensor examples) by not having to register a callback on the testbed.

It also makes example generally more helpful since the user can see how the simulation is stepped directly from the example file (instead of having to dig into the testbed source code).

This makes the Harness from the testbed obsolete, and removed.
This also remove the alternative physics backend (PhysX and Box2d) since these crates don’t seem to be maintained any more and keeping them just increase the maintainance burden.

@sebcrozet sebcrozet merged commit 936b228 into master Jul 4, 2026
16 checks passed
@sebcrozet sebcrozet deleted the testbed-rework branch July 4, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant