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

Slope collision algorithm rewrite #3140

Draft
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

MatusGuy
Copy link
Member

Ok so I'm not the most math guy in here but I've come up with a simpler and better documented slope collision algorithm. Here, I plan to fix inconsistencies and weird edge cases that would otherwise be difficult to pinpoint with the old system.

Here I also removed all instances of glm::vec2 and replaced it with our own Vector class, which means that glm is ready to get removed.

Testers: Once I fully open this PR, please test all interactions with different types of slopes. And on a seemingly unrelated note, also test big snowball.

@swagtoy
Copy link
Contributor

swagtoy commented Dec 13, 2024

Was GLM not being used in our OpenGL/video code at all?? :O

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

Successfully merging this pull request may close these issues.

2 participants