..aaand collisions & traces are f*cking me up again.



The cylinder is the player, I'm tracing straight down with USE_BOX and the glowing dot shows where the trace hits the "ground".
This completely messes up the ground normal and it's a pain in the ass to try find a workaround (the one I found doesn't work in all cases).

On top of that the player can easily get stuck in thight corners (angle < 45°) because the trace somehow ends up in the wall again.
And apparently it matters whether the collision is happening in x+ or x- direction because I sometimes get a ground angle of 90° (same with y).

The only solution I can think of are different models for the traces to get a smaller or a bigger volume to trace with but I believe
this will lead to even more problems.

Another possibility would be using a physx actor but I'm not sure if I want to do that.


POTATO-MAN saves the day! - Random