From 32e2ff6c96a77c0be549ed809dcd62aeab58340d Mon Sep 17 00:00:00 2001 From: Sébastien Crozet Date: Fri, 1 Jul 2022 17:45:11 +0200 Subject: Name the contact force events ContactForceEvent instead of CollisionForceEvent --- src/geometry/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/geometry') diff --git a/src/geometry/mod.rs b/src/geometry/mod.rs index 48d71f8..df9a785 100644 --- a/src/geometry/mod.rs +++ b/src/geometry/mod.rs @@ -121,7 +121,7 @@ impl CollisionEvent { #[derive(Copy, Clone, PartialEq, Debug, Default)] /// Event occurring when the sum of the magnitudes of the contact forces /// between two colliders exceed a threshold. -pub struct CollisionForceEvent { +pub struct ContactForceEvent { /// The first collider involved in the contact. pub collider1: ColliderHandle, /// The second collider involved in the contact. -- cgit