Fix typo in EventHandler::handle_collision_event

This commit is contained in:
Joseph Rafael Ferrer
2023-02-11 14:52:15 +08:00
parent 2e929bbcab
commit a0c0848dee

View File

@@ -36,7 +36,7 @@ pub trait EventHandler: Send + Sync {
/// * `event` - The collision event. /// * `event` - The collision event.
/// * `bodies` - The set of rigid-bodies. /// * `bodies` - The set of rigid-bodies.
/// * `colliders` - The set of colliders. /// * `colliders` - The set of colliders.
/// * `contact_pair` - The current state of contacts between the two colliders. This is set ot `None` /// * `contact_pair` - The current state of contacts between the two colliders. This is set or `None`
/// if at least one of the collider is a sensor (in which case no contact information /// if at least one of the collider is a sensor (in which case no contact information
/// is ever computed). /// is ever computed).
fn handle_collision_event( fn handle_collision_event(