dimforge / dimforge/rapier

Add new contacts manually during contact modification

Open
#387 0 comments 0 reactions 0 assignees View on GitHub
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

As mentioned in the warning found in [the docs](https://rapier.rs/docs/user_guides/bevy_plugin/advanced_collision_detection/#contact-modification), bevy-rapier does not support generating new contacts. I have a use case for such functionality. I'd like to generate contacts between rapier colliders and static implicitly defined surfaces before the solver runs.

I'll probably end up hacking in a hook to do what I want eventually, but it would be nice to avoid that. I have yet to do any investigation on how to do this in rapier and would appreciate any indication for a work-around.

To be clear, these contacts would always be between a dynamic rigidbody and a static unmoving implicitly defined surface.

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.