Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Player visual angle issues #195

Open
EnceladusX2 opened this issue Sep 16, 2024 · 2 comments
Open

Player visual angle issues #195

EnceladusX2 opened this issue Sep 16, 2024 · 2 comments

Comments

@EnceladusX2
Copy link
Contributor

When moving along any sloped surface that would change the player's visual angle, their sprite rotation tends to reset to 0 at what feels like random intervals. It's definitely not intended behavior.

2024-09-15.23-45-58.mp4
@Caverns4
Copy link
Collaborator

I'll try to look into this this weekend.

@EnceladusX2
Copy link
Contributor Author

Did some testing and seem to have boiled this down to the angle collected from collision normals being slightly inconsistent. Logically that makes sense, but with the way this framework handles sprite rotation that's not good. It might be worth just reworking sprite rotation instead of rewriting how the ground angle is collected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants