This repository was archived by the owner on Nov 29, 2022. It is now read-only.
-
I use rapier3d::prelude::NarrowPhase directly and its method contact_pair needs access to the inner ColliderHandle. Could we accommodate for this?
|
Beta Was this translation helpful? Give feedback.
Answered by
jcornaz
Jan 21, 2022
Replies: 1 comment
-
Hi. There is a conversion available: https://docs.rs/heron/1.0.1-rc.1/heron/rapier_plugin/struct.ColliderHandle.html#impl-IntoRapier%3CColliderHandle%3E-1 let rapier_handle: rapier3d::ColliderHandle = heron_handle.into_rapier(); I cannot make the inner field directly public, nor can i implement |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
edisno
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi.
There is a conversion available: https://docs.rs/heron/1.0.1-rc.1/heron/rapier_plugin/struct.ColliderHandle.html#impl-IntoRapier%3CColliderHandle%3E-1
I cannot make the inner field directly public, nor can i implement
Deref
because the actual rapier type can change depending on the feature flags used. (2d or 3d)