Emil Ernerfeldt f2d9225101 Add ColliderHandle:s to PairFilterContext
This makes it easy to write custom filters based on the handles.

For instance, a user can add pairs of `ColliderHandle`s into a `HashSet` and
do a lookup in a `ContactPairFilter` to easily (if maybe not efficiently)
disable collisions between pairs of colliders.

The same could be accomplished by using the `user_data: u128` field of the
`Collider`, but it would be less ergonomic, and also with this PR that
`user_data` space can be saved for more important things.
2021-02-17 11:19:51 +01:00
2021-01-23 13:20:30 +01:00
2021-01-06 18:09:12 +01:00
2020-08-25 22:10:25 +02:00
2021-01-29 14:09:08 +01:00
2020-08-25 22:10:25 +02:00
2020-09-01 17:48:51 +02:00

crates.io

Build status crates.io crates.io

Website | Documentation


2D and 3D physics engines for the Rust programming language.


Gold sponsors

Rapier is supported by:

Languages
Rust 99.6%
Shell 0.4%