Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Should be fixed with https://github.com/phoboslab/underrun/commit/2477c5a45f5be4d...

Rolling back X and Z when any collision occurs would prevent you from "hugging" (i.e. sliding along) walls. The problem was that a near corner collision wasn't correctly detected when the player didn't collide in X direction in the last frame (last_x) but does collide in the current frame (t.x), allowing the player to move into the corner in Y direction.

Thanks!



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: