Line trace not hitting mesh component

First I assume the debug line is showing where it should be.
Then is it hitting anything or going through.
If it is hitting something I would do a print string to see what Hit Actor and Component both say.
If it isn’t hitting anything I would check the Actor and Component have relevant Blocking collision on the Visibility channel.
I don’t know what the Static Mesh variable is.
Lastly, sometimes == doesn’t work the way I expect and I need to Get Class and compare that instead. Not sure for components.

2 Likes