ModSquadWorkshop / BossRush

Our game for GAM 392: Game Mod Workshop
3 stars 1 forks source link

Player Gets Stuck in Place #160

Closed zigbit closed 9 years ago

zigbit commented 9 years ago

I'm not sure if anyone has experienced this, but something is causing me to get stuck at random spots and not be able to move anymore. It doesn't even seem to be caused by box colliders because it'll happen in the middle of a grass field. No idea what's causing this. Let me know if anybody else has experienced this.

randomPoison commented 9 years ago

Yeah, I've been running into this a bunch. It seems to be related to the dash function, possibly the dash is still going but not moving the player?

We should check to see if this was still happening before I added the fix for having the player sink into the ground. It's possible that resetting the player's Y pos to 0 is somehow overriding the movement (could be a concurrency issue since the physics thread goes at a different rate than the game thread).

zigbit commented 9 years ago

I'm pretty I've experienced this without ever dashing, but I could be wrong. Regardless, I'll test to see if the dash is ending properly.