Debuggery

I was having a terrible time finding if a sword slash hit a barrel or not… which, it clearly did not because the barrel did not trigger a collision. After numerous attempts to figure out what was going on, I started on a path to debug … well … the path the collider was on! So I wrote a script.

I’m using box colliders since everything I’m doing does not require precision. This makes it easy to script up something to highlight the path my colliders have been on.

Continue reading Debuggery