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

Edge Colliders don't collide with other edge colliders #4

Open
filcius opened this issue Nov 18, 2016 · 5 comments
Open

Edge Colliders don't collide with other edge colliders #4

filcius opened this issue Nov 18, 2016 · 5 comments

Comments

@filcius
Copy link

filcius commented Nov 18, 2016

I used the Ellipse collider, but find out that they don't collide with other Ellipse collider.

A box, or circle collider do collide with Edge collider though.

You should try using Polygon Collider 2D instead.

@richardkopelow
Copy link
Contributor

I put in a pull request to do this, #2 until it is pulled in feel free to use the code from my fork, https://github.com/richardkopelow/Custom-2D-Colliders

Cheers

@Sytten
Copy link

Sytten commented Nov 18, 2016

@richardkopelow have you added the arc collider in your fork?

@richardkopelow
Copy link
Contributor

@Sytten I haven't converted it to use the polygon collider. I'll look at doing that tonight or tomorrow morning. It would probably be best to use the edge collider when the shape is not set to be "pizza slices", and hot swap for a poly collider when it is. That or make the poly collider sweep over the arch and then back do it was

@richardkopelow
Copy link
Contributor

@Sytten I really slacked getting back to you on this but it is done if you need it.

@Sytten
Copy link

Sytten commented Dec 22, 2016

Nice thanks!

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

3 participants