Dynamic Cockroaches - Unreal C++
THIS BLOG WILL BE UPDATED AS I KEEP WORKING ON THIS SYSTEM AS THEY SOMETIMES GO THROUGH COMPLEX SURFACES AND GET STUCK WALKING ON THE UNDERSIDE OF THE SURFACE.
I am currently using a LineTraceSingleByChannel to detect when there is a collision and they need to rotate based on it, but I think I need to use a LineTraceMulti or a Sphere Trace to get all of the hits of the trace to detect which surface normal is best to rotate based on.