Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - xtyler

Pages: [1]
1
Support / Re: Enhancing collisions in 2D Toolkit
« on: November 28, 2012, 06:00:47 pm »
NO MULTIPLE COLLIDERS

I agree that better collider support would be nice - I've had my problems with Polygon Colliders falling through each other. But it seems like multiple colliders has a simple work-around inherent to Unity. I'm still new to Unity so I don't know if there are performance ramifications, but I can't imagine that they'd be significant.

1) create sprite object, give it its first collider 2) create an empty game object and nest it inside the sprite object in the hierarchy 3) give the empty game object its own collider, sized and positioned to suit requirements 4) repeat for additional required colliders

The Sprite behaves as though each of those colliders were attached (which they are). For the game I'm starting to build I hope to create each limb of my character as a separate sprite each with its own collider, using Hinge Joints to provide a rag-doll effect when desired. Are there significant concerns that I should know about with this approach?

Pages: [1]