Re: Avoiding moving objects going into walls in bump.lua
Posted: Mon Mar 15, 2021 8:52 am
DANG IT.MrFariator wrote: ↑Mon Mar 15, 2021 8:04 am I haven't had the chance to properly look through your code, but on line 262 in data/bullets.lua, is this right?As far as I can tell, because of that typo you're using the default filter (as defined in entities/bullet.lua, in Bullet.checkCollision), so you're still using whatever the collision type for other resolves to, instead of hardcoding "slide"?Code: Select all
function bullets.BouncyBullet.checkCollisiuon(item, other) -- "Collisiuon" instead of "Collision" -- ... end
You and p.gimeno are right, it seems it's from bounce,(I do think I left it like that intentionally in the actual project but forgot about it when making this testcase)
I say you don't because when it's slide the bug doesn't show(unless you tap on a metal block).
Anyway to fix that bounce bug?