Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split RapierContext #585

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open

Conversation

Vrixyz
Copy link
Contributor

@Vrixyz Vrixyz commented Sep 11, 2024

  • Fix Split up RapierContext #502
  • splits out the following components from RapierContext:
    • colliders
    • joints
    • query pipeline
    • rigidbody set
  • add example for accessing individual components
  • RapierContext is now a QueryData aggregating all previously available information from that.
  • prepared an updated userguide for rapier.rs at Bevy rapier 0.28 split context rapier.rs#120

Opportunities for parallelized execution seem limited, but exist, this also enables better separation of systems, with more typed information leading to a clearer intent.

I'm not 100% convinced it's a net positive in terms of maintainability, bevy_mod_debugdump is currently harder to read due to this bug: jakobhellermann/bevy_mod_debugdump#50.

Vrixyz added a commit to Vrixyz/rapier.rs that referenced this pull request Oct 15, 2024
@Vrixyz Vrixyz marked this pull request as ready for review October 15, 2024 08:35
Vrixyz added a commit to Vrixyz/rapier.rs that referenced this pull request Oct 15, 2024
@Vrixyz Vrixyz mentioned this pull request Oct 31, 2024
3 tasks
@Vrixyz Vrixyz requested a review from sebcrozet October 31, 2024 15:21
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.

Split up RapierContext
1 participant