Download

Line Traces Against BSP

Do line traces not affect BSP?

I’m currently tracing ahead of my character to check if it hits a wall, but BSPs don’t ever return, only when I add actors and blocking volumes.

I’m pretty sure you can only return the bBlockingHit variable to detect BSP:



if(TraceResult.bBlockingHit)
{
	UE_LOG( MyLog, All, TEXT( "--- We hit something! :D ---" ));
}


Though this detects all hits, actors & BSP.

You should get a hit, the Actor will just be NULL.

Ok, that explains it. Thanks.