Trace Bug

Hello, I am a fairly new programmer and was trying around with traces. The code should set the colour to red when hitting anything visible. But it always return false. In Editor.png you can see a red Box that it is tracing and you can clearly see that it is overlapping. I tryed around quite some time, but couldnt find out what I did wrong. Maybe this is a bug?



Method_calll
Collison
Thanks in advance and sry for the bad spelling.

This is the issue, it should be
FCollisionShape Shape = Shape.MakeBox(FVector(200.f));

instead of

FCollisionShape Shape;
Shape.MakeBox(FVector(200.f));
1 Like

Thank you for the help