We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Feature Add automatic calculation of collisions in physics module.
Additional context To add:
CollisionGroups: Into<usize>
fn can_collide_with() -> HashMap<Self, Vec<Self>>
Collider
To modify:
PhysicsModule
CollisionGroups
()
To design:
OnCollisionWith
Dependencies
The text was updated successfully, but these errors were encountered:
Nicolas-Ferre
Successfully merging a pull request may close this issue.
Feature
Add automatic calculation of collisions in physics module.
Additional context
To add:
CollisionGroups: Into<usize>
trait to define collision group configuration, containsfn can_collide_with() -> HashMap<Self, Vec<Self>>
methodCollider
component to define the collision group of the entityTo modify:
PhysicsModule
has a new generic type that implementsCollisionGroups
(default:()
)To design:
OnCollisionWith
to easily configure a collision action for a componentOnCollisionWith
, but not necessarily forCollider
)Dependencies
The text was updated successfully, but these errors were encountered: