This repository has been archived by the owner on Nov 29, 2022. It is now read-only.
Replies: 1 comment 2 replies
-
Mmh, interesting requirement. I don't see how to provide such information. The event we get from rapier only contains a reference to the collider (which in turns has a reference to the rigid body): https://docs.rs/rapier3d/latest/rapier3d/geometry/enum.ContactEvent.html And I don't think we can get information about the collision from either the collider or rigid body. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to get any extra information when a collision occurs, such as the impact force? When I print an event using
EventReader<CollisionEvent>
I just get the following information:I would like to see with how much force the two objects collided. I tried looking into the attached collider entities, but these don't have this kind of information.
Beta Was this translation helpful? Give feedback.
All reactions