diff options
Diffstat (limited to 'src/geometry/collider.rs')
| -rw-r--r-- | src/geometry/collider.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/geometry/collider.rs b/src/geometry/collider.rs index f7f4efa..c2adc59 100644 --- a/src/geometry/collider.rs +++ b/src/geometry/collider.rs @@ -216,8 +216,8 @@ pub struct Collider { impl Collider { pub(crate) fn reset_internal_references(&mut self) { self.parent = RigidBodySet::invalid_handle(); - self.contact_graph_index = ColliderGraphIndex::new(crate::INVALID_U32); - self.proximity_graph_index = ColliderGraphIndex::new(crate::INVALID_U32); + self.contact_graph_index = InteractionGraph::<Contact>::invalid_graph_index(); + self.proximity_graph_index = InteractionGraph::<Proximity>::invalid_graph_index(); self.proxy_index = crate::INVALID_USIZE; } |
