You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
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?
--- a/rapier/src/lib.rs
+++ b/rapier/src/lib.rs
@@ -56,14 +56,14 @@ pub struct RapierPlugin;
/// It is automatically inserted and removed by heron.
/// It is only useful for advanced, direct access to the rapier world
#[derive(Debug, Copy, Clone, Eq, PartialEq, Component)]
-pub struct RigidBodyHandle(dynamics::RigidBodyHandle);
+pub struct RigidBodyHandle(pub dynamics::RigidBodyHandle);
/// Component that holds a reference to the rapier collider
///
/// It is automatically inserted and removed by heron.
/// It is only useful for advanced, direct access to the rapier world
#[derive(Debug, Copy, Clone, Eq, PartialEq, Component)]
-pub struct ColliderHandle(geometry::ColliderHandle);
+pub struct ColliderHandle(pub geometry::ColliderHandle);
I use rapier3d::prelude::NarrowPhase directly and its method contact_pair needs access to the inner ColliderHandle. Could we accommodate for this?