Name the contact force events ContactForceEvent instead of CollisionForceEvent

This commit is contained in:
Sébastien Crozet
2022-07-01 17:45:11 +02:00
parent 1ba37b8f63
commit 32e2ff6c96
3 changed files with 8 additions and 8 deletions

View File

@@ -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.