From fc34cdc1998f9ba2dfb69ba752e3d4e26e40377d Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sun, 28 Apr 2019 11:15:35 +0200 Subject: [PATCH] modules/world: set default collision mode to slide --- gamecore/modules/world/actors/actor2D.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamecore/modules/world/actors/actor2D.lua b/gamecore/modules/world/actors/actor2D.lua index a49252a..2faf328 100644 --- a/gamecore/modules/world/actors/actor2D.lua +++ b/gamecore/modules/world/actors/actor2D.lua @@ -105,7 +105,7 @@ function Actor2D:setFilter() -- Init the bump filter self.filter = function(item, other) if (other.isSolid) then - return "touch" + return "slide" else return "cross" end