fishfolk / jumpy

Tactical 2D shooter in fishy pixels style. Made with Rust-lang 🦀 and Bevy 🪶
https://fishfolk.org/games/jumpy/
Other
1.6k stars 115 forks source link

fix: sliding collisions #911

Closed nelson137 closed 6 months ago

nelson137 commented 6 months ago

Closes #910

This was more simple than I expected. When a sliding player collides with something and stops moving, the transform adjustment to stand up didn't take into account the direction the player is facing.

https://github.com/fishfolk/jumpy/assets/25290530/aecf7cf4-72ef-427b-8f16-73000f43ad5f

nelson137 commented 6 months ago

This advisory check task will pass once #909 is merged and I rebase

zicklag commented 6 months ago

Oh, sweet! That's so nice to have fixed. It's one of those small wrinkles that has bugged me since I ported the original physics. :)