No idea how this happened, but i spent a few DAYS figuring out the knockback on my enemy (who is a default box rn dw about it) but for some reason, when I test it, from above it will like grab the player and drag them along . It only seems to happen when the player is extremely close to the enemy..
something tells me it has something to do with the collision shapes, not the code, but i have played with them and nothing changes.
Ill put my code below, but tbh people who have seen it have been baffled as to how the code could be involved. I'm stumped. ;w;