Download

Draw solid collision

I am digging thru static mesh rendering code and I have to say that it’s so messy and complicated without any actual reason. Having one big function with tons of boolean switches and conditions is crazy. However, I noticed that there is already some kind of support for solid collision drawing and something like that would be really nice improvement, as debugging collision in solid mode is much easier and you can also easily see modes in which your collision is operating (complex/simple). I forced this (changed one if) for static mesh in my own build and this come out. What do you guys think?

(photo is showing solid collision drawing of my level)