modules/world: set default collision mode to slide

This commit is contained in:
Kazhnuz 2019-04-28 11:15:35 +02:00
parent 5777d9463b
commit fc34cdc199

View file

@ -105,7 +105,7 @@ function Actor2D:setFilter()
-- Init the bump filter -- Init the bump filter
self.filter = function(item, other) self.filter = function(item, other)
if (other.isSolid) then if (other.isSolid) then
return "touch" return "slide"
else else
return "cross" return "cross"
end end