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

Physics context with arguments from PhysicsPipeline::step #796

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

Conversation

Vrixyz
Copy link
Contributor

@Vrixyz Vrixyz commented Feb 3, 2025

The objective is to offer a simplified route to most common usage of the library.

Current status

  • create a PhysicsContext
  • Migrate all relevant tests to use it, to get a feeling on how it's useful
  • migrate other code
  • add an example to not use that PhysicsContext
  • add more helper functions ? - maybe out of scope for this PR 🤔
  • changelog

Comment on lines +18 to +19
pub hooks: PH,
pub events: EV,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove from the struct to simplify

Comment on lines +81 to +82
}
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add shortcuts to creations (rigidbodies, colliders, both) ; (and consider queries in a future PR?)

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