Why does SweepSingleByChannel not work with a Box?
What I am expecting: When StructureMesh (Static Mesh) is overlapping with another actor in the scene that respons to the appropriate channel (and this code is called) the debug box should be green.
What happens instead: The debug box does not turn green and therefore no hit results are generated. But replacing
does lead to the debug color turning green.
Note: Using FCollisionShape::MakeBox(300.f, 300.f, 300.f) doesn't work either.
How can I fix this?
asked May 10 '17 at 03:02 PM in C++ Programming
start and end location need to be different. add a small increment (0.001f) to the Z-axis on the start location, and then set that as the end. good luck
answered Nov 29 '18 at 11:34 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here