docstring/spelling
Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
This commit is contained in:
@@ -465,8 +465,9 @@ impl ColliderBuilder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Sets whether or not the collider built by this builder is a sensor.
|
/// Sets whether or not the collider built by this builder is a sensor.
|
||||||
|
///
|
||||||
/// Sensors will have a default density of zero,
|
/// 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 {
|
pub fn sensor(mut self, is_sensor: bool) -> Self {
|
||||||
self.is_sensor = is_sensor;
|
self.is_sensor = is_sensor;
|
||||||
self
|
self
|
||||||
|
|||||||
Reference in New Issue
Block a user