I want to do a really wide sphere trace from the player, about 200 in radius, and when I debug it’s generating hits with the landscape. How do you make the trace ignore it?
Edit: I made a workaround by adding 150 on the Z axis, but that doesn’t feel like the optimal solution.
Auran131
(Auran13)
June 28, 2024, 4:07am
2
create a custom object/trace channel
i havent checked but landscape is likely on visibility/worldstatic
I’ve done that now but I’m not sure if I’m using it correctly since it doesn’t work.
Created a custom trace channel called “Landscape” with default response block.
Set collision presets to custom for the landscape and ticked ignore on the landscape channel
Tested it with debug and it registers a hit anywhere I’m aiming it(the player is ignored)
Auran131
(Auran13)
June 30, 2024, 6:50am
5
rather than changing the landscape i’d use the custom channel to detect what you want it to detect.
ie if you’re trying to trace for certain actors, then only those actors should overlap the sphere trace
1 Like
system
(system)
Closed
July 30, 2024, 6:51am
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.