aboutsummaryrefslogtreecommitdiff
path: root/src/geometry/collider.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/geometry/collider.rs')
-rw-r--r--src/geometry/collider.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/geometry/collider.rs b/src/geometry/collider.rs
index e02b0f2..dfa532c 100644
--- a/src/geometry/collider.rs
+++ b/src/geometry/collider.rs
@@ -302,7 +302,7 @@ impl Collider {
}
}
- /// Sets the rotational part of this collider's rotaiton relative to its parent rigid-body.
+ /// Sets the rotational part of this collider's rotation relative to its parent rigid-body.
pub fn set_rotation_wrt_parent(&mut self, rotation: AngVector<Real>) {
if let Some(parent) = self.parent.as_mut() {
self.changes.insert(ColliderChanges::PARENT);