dimforge / dimforge/rapier

Get CCD point of impact

Open
#548 1 comment 0 reactions 0 assignees View on GitHub
2D 3D A-Dynamics C-Enhancement D-Medium P-Medium
Dominant language
Rust
Stars
5.7k
Forks
387
Avg merge
4d 23h
Merged PRs (30d)
6

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.