From 5b3d87d24b4c2c750d34d1e970254358cba087a4 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Fri, 4 May 2018 11:16:02 -0400 Subject: Fixed behavior of uncollidable bodies The collidable flag, previously unused, now correctly disables collision detection when unset. This has the side effect of platforms being able to move through a dying player. It is undecided whether this behavior is wanted. --- src/components/ponderable.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/components') diff --git a/src/components/ponderable.h b/src/components/ponderable.h index 6a01400..eff20e9 100644 --- a/src/components/ponderable.h +++ b/src/components/ponderable.h @@ -109,7 +109,8 @@ public: /** * If disabled, collision detection for this body will not be performed and - * other bodies will ignore it. + * other bodies will ignore it. Disabling this will cause applicable bodies to + * become ungrounded and unferried. */ bool collidable = true; -- cgit 1.4.1