modules/world: set default collision mode to slide
This commit is contained in:
parent
5777d9463b
commit
fc34cdc199
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue