In my top down game I want to hit test for the ground only which is made up of hexes,and ignore props, trees, etc
I created a custom trace channel called “Mouse”, set default Ignore
Then checking my DefaultEngine.ini I see this, which seems correct:
In c++ this is the line that does the test:
PlayerController->GetHitResultUnderCursor(ECollisionChannel::ECC_GameTraceChannel1, true, HitResult);
I set collision on my hex mesh like so:
Problem: I get no hit result.
More interesting: If I use ECC_Camera, a default channel, it works. But I want to use a custom so I can set default to ignore and only modify the object that should block, the other way around means modifying a huge number of meshes.
Should this work? Anything I could be missing?