This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

  • 0
Sign in to follow this  
Followers 0
V3ndetta

Any way to precisely calculate 2D polygon Collider shape?

Question

In my game I make use of particle collision, and I must make some more complex models in later stages. Adding the polygon collider2D or dragging the sprite from the project tab over the sprite in the inspector with a collider does not seem to work, as mentioned on Unity official  guide. I don't know if this is normal or just another unity bug? If there is no way for the editor to do it, is there any method to calculate the collider by code perhaps? Thanks in advance, a screenshot of my collider:

 

Please login or register to see this link.

Share this post


Link to post
Share on other sites

1 answer to this question

  • 0

That's a unity 5 bug. I believe used to work in 4. My phones dying but you can do it procedurally yes

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0