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

Collision data shape ordering (second attempt) #45

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

MondayHopscotch
Copy link
Contributor

@MondayHopscotch MondayHopscotch commented Jan 16, 2024

This PR has a good bit of cruft in it still. I just wanted to put up the code along with the extra test states that I used to debug the issue to give you a chance to see what I did. If this looks good, I will prune down the code and put up a clean PR without all the extra junk.

See #41. This PR attempts to correct the order that data is passed to collision listeners such that the shapes are in the proper order.

echo/util/SAT.hx Outdated
@@ -495,7 +506,7 @@ class SAT {
test1 = min1 - max2;
test2 = min2 - max1;

// Preform another test
// Preform another test // TODO: What is this test doing, exactly?
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't articulate exactly what this test is doing, so a short descriptor might help future folks if they need to come in here for any reason.

@MondayHopscotch MondayHopscotch marked this pull request as ready for review March 2, 2024 20:30
@MondayHopscotch MondayHopscotch changed the title [DRAFT] Listener shape issue Listener shape issue Mar 3, 2024
@MondayHopscotch MondayHopscotch changed the title Listener shape issue Collision data shape ordering (second attempt) Mar 3, 2024
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.

None yet

1 participant