aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/geometry/collider.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/geometry/collider.rs b/src/geometry/collider.rs
index c8d421b..0d42a05 100644
--- a/src/geometry/collider.rs
+++ b/src/geometry/collider.rs
@@ -465,8 +465,9 @@ impl ColliderBuilder {
}
/// Sets whether or not the collider built by this builder is a sensor.
+ ///
/// Sensors will have a default density of zero,
- /// but if you call [`Self::mass_properties`] you can assigna a mass to a sensor.
+ /// but if you call [`Self::mass_properties`] you can assign a mass to a sensor.
pub fn sensor(mut self, is_sensor: bool) -> Self {
self.is_sensor = is_sensor;
self