Toqozz / blog-code

code from blog posts
https://toqoz.fyi
MIT License
90 stars 36 forks source link

Fixed bug with wrong rope collision handling for BoxCollider2D #9

Closed Befezdow closed 2 years ago

Befezdow commented 2 years ago

Collision handling did not work correctly with non-square BoxCollider2D colliders (collider.size.x != collider.size.y)

Befezdow commented 2 years ago

Example of situation where collision handling will be incorrect: image

Toqozz commented 2 years ago

Wow, nice find. That's been there forever!