Landscape is seen as actor, how to disable that?

Hi, I have a LockOn system that works great, but when I try it when standing near/on a landscape it does not work anymore. Really confused why that is.
Does anyone have an idea why that is and how to fix it?

Thanks, help is much appreciated

It takes the landscape as actor, but when I make a new level and new landscape it does not do that, anyone know why it takes the landscape as actor in the first level?

Hey there @Faze_Kaas! Is it locking on to the terrain for certain? If so, you can exclude all static/stationary actors in your trace and that would solve it outright. Unless you have static/stationary enemies, then you may just want to include only enemy actors specifically in the trace.

Hi @SupportiveEntity
How can I exclude all static/stationary actors?
This is what I have done:



But your way might be better

THanks

You can just target whatever channel your enemies are on. I’d set your enemies on their own channel as best practices anyway. You can create a collision channel for the enemies in your project settings, then in your target type you would choose the enemy type and you’re good!

image