I'm basically trying to debug a raycasting issue that's fairly demanding in terms of performance (I'm trying to make some ants avoid eachother, there are thousands), but to be honest I can't really tell whether the rays shoot in the right direction, change when the angle of the ant is changing and so on. So I'd like to draw some kind of line to see where the ray tracing goes.
Any ideas, tips or tricks people want to share??
Also, I did notice raycasting loves to return the very object it spawned from. I feel AGK2 really needs some kind of flag to always ignore the object where tracing started. I know I can check the HitID and ignore the first object that way, but to me it always came across a bit weird it doesn't ignore that when the idea is 'collision check with another object' and virtually never itself, right?
.