diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-05-04 11:16:02 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-05-09 17:59:13 -0400 |
commit | 5b3d87d24b4c2c750d34d1e970254358cba087a4 (patch) | |
tree | b68ca8e65a4026fc355e33e04e7380ec000f7f48 /src/components | |
parent | 83534176373bd05a13db88ffff095f52cca07a21 (diff) | |
download | therapy-5b3d87d24b4c2c750d34d1e970254358cba087a4.tar.gz therapy-5b3d87d24b4c2c750d34d1e970254358cba087a4.tar.bz2 therapy-5b3d87d24b4c2c750d34d1e970254358cba087a4.zip |
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.
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/ponderable.h | 3 |
1 files changed, 2 insertions, 1 deletions
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: | |||
109 | 109 | ||
110 | /** | 110 | /** |
111 | * If disabled, collision detection for this body will not be performed and | 111 | * If disabled, collision detection for this body will not be performed and |
112 | * other bodies will ignore it. | 112 | * other bodies will ignore it. Disabling this will cause applicable bodies to |
113 | * become ungrounded and unferried. | ||
113 | */ | 114 | */ |
114 | bool collidable = true; | 115 | bool collidable = true; |
115 | 116 | ||