dimforge / dimforge/rapier

Feature Request: Collision Normal Velocity

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

Description

_From [this Discord thread](https://discord.com/channels/507548572338880513/748627261384556715/1044454804908412948). (Please fix my wording if I stated the request incorrectly!)_

- Add a field to `SolveContact` to track normal velocity.
- Make it so that you can modify `solver_contact.normal_velocity` in `bevy_rapier`. (should I make a separate issue in `bevy_rapier` for this?)

I'm trying to make it so that I can produce a fixed-velocity collision response in my game, to simulate powered bumpers in a pinball machine which produce a large fixed response (almost) regardless of collision velocity.

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.