Get Hit Result Under Cursor by Channel not working as expected at far distances

I am simply using the code below, but the point where I click does not match.

In the second picture I clicked on a place to the right and below.

Pretty much late answer but still possibly helpful for others. This is due to limited Trace Distance parameter of standard Player Controller. You can override it using custom PC and changing this parameter in Class Defaults.

2 Likes

Trace distance is 100000 on my controller. Get hit result by channel or object (visibility and world static) always fail, even for things which appear to be like 500 units away at most.

That worked. Thanks.

1 Like