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

Add support for triangle colliders #847

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from

Conversation

KatDevsGames
Copy link
Contributor

This update adds support for triangular colliders as well as cleaning up some more of the ellipse logic.

added support for reading type field & repeatX/repeatY from Tiled image layers (renderer still does not support this)
property value read bugfix Til;edMapProperties.cs:10
this is a Cast function in CollisionComponent that ICollisionActor objects can use (not unlike the one that rigidbodies get in unity)
fixed a bug in original cast function
added overloads with layer selection
triangle collision bugfix to deal with rounding errors
every shape already implemented this and it simplifies a lot of userland code
@AristurtleDev
Copy link
Collaborator

@KatDevsGames
Thanks for the PR.
When you have a moment, could you sync your branch now that the CI tests are fixed and check any merge conflicts?

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

2 participants