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

Get CCD point of impact #548

Open
ImVexed opened this issue Nov 13, 2023 · 0 comments
Open

Get CCD point of impact #548

ImVexed opened this issue Nov 13, 2023 · 0 comments

Comments

@ImVexed
Copy link

ImVexed commented Nov 13, 2023

Hello!

I'm using rapier in Bevy and am curious if I can get the location of impact out of a rigid body that is using CCD?

From what I can tell from looking at the CCD solver, the actual collision point based on the TOI is never exposed to the CollisionEvent. And in my use case I have relatively high velocity entities that may collide with each other, and it's hard to get their point of impact. outside of just taking their position transforms before the next velocity step.

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

No branches or pull requests

1 participant