I want to add a feature to my game that allows the player to enable visibility of collision boxes, very similar to the practice mode in Skull Girls: 2D Fighter Glossary - Frames and Hitboxes - YouTube
(I’ve been trying to figure it out on my own, but having trouble.)
I found a few other answers on visible collision, but most of then were for editor only, and other methods just didn’t seem to work for me at all. I don’t know why.
(On another note, I have some complex polygon colliders, so I’d rather not have to resort to just spawning sprites that I manually set to the same shapes. I need a performance efficient method. My guess is I need to use the same vertex information as the colliders, so I won’t be making any unnecessary recalculations.)
(Note: I’m already familiar with setting up options screens, and toggling features on and off, so I don’t need anyone to show me that part. : )
Thanks in advance!