Multi line trace returning no hit results
Been trying to get ray trace to return every actor hit. I am using UShapeComponents for collision detection, I disable every channel on my meshes and activate them on the ShapeComponents instead. I am using ECR_Overlap but I am getting nothing hit. I tried making the ECC_ObstacleChannel block but it only returns one of the actors that get hit, not even the first (might depend how they get added to the scene). Any idea what is missing? Thanks.
In the Tick event...
asked Nov 16 '15 at 12:46 PM in C++ Programming
Okay, my problem was the if statement. It only returns true when something collided with is Blocking. So I just removed the if and always execute the loop after to process the collided actors.
answered Nov 17 '15 at 01:15 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here