TheCherno / Hazel

Hazel Engine
Apache License 2.0
11.64k stars 1.5k forks source link

Physics colliders to show correctly on both sides of sprites/circles. #559

Closed VagueLobster closed 2 years ago

VagueLobster commented 2 years ago

I seriously thought this code was from @TheCherno, but was apparently wrong... This code is apparently from #517 which i didn't even know existed (or at the very least couldn't remember existed!) I have closed this, because i don't want to take credit from the original coder 🙂 Though the main difference between the PRs are that my code also uses the z projection visualization for 2D Boxes, which #517 doesn't!

Impact Issue/PR
Issues this solves None
Other PRs this solves None

Before: 01

And after: 02

erikrl2 commented 2 years ago

I'm sorry, but this is a duplicate of #517.

VagueLobster commented 2 years ago

I'm sorry, but this is a duplicate of #517.

Yeah in general it is the same code, which i didn't notice was up here on github, and sorry for that. I will close this now, to not cause any trouble with anybody 🙂