docstring/spelling

Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
This commit is contained in:
Emil Ernerfeldt
2021-03-08 10:04:13 +01:00
committed by GitHub
parent 018cc23639
commit 5154233176

View File

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