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 44295c4..2b82cc4 100644
--- a/src/geometry/collider.rs
+++ b/src/geometry/collider.rs
@@ -248,7 +248,7 @@ impl Collider {
/// Retrieve the SharedShape. Also see the `shape()` function
pub fn shared_shape(&self) -> &SharedShape {
- &self.shape
+ &self.co_shape
}
/// Compute the axis-aligned bounding box of this collider.