I have a problem with collision? idk how to name it

im using line trace by channel which is working perfecly fine!, but i have a problem with collision/ other unkown to me problem, when im hovering over top of it registers the door

does anyone know how to fix it? i checked the blueprint for the door but i don’t have any extra collision there. I would be really greatfull if somebody will help me. SORRY FOR MY ENGLISH BTW..

Hello, Welcome to the Forums.

Just to clear up a bit of vocabulary - I’d consider the LineTrace system different than the Collision system.

(It would be a Collision problem if you were using box collision on door to detect when to show/hide the Interact UI)

So it sounds like it’s showing the interact prompt when the line trace hits the door, but it’s not hiding the prompt when you look away.

What does the code look like to hide the prompt when your line tracing is no longer hitting the door?

Hi! Yes! it works perfectly fine. But the only problem is, the area of it is to widght and to high, i can’t upload more pictures since new users have limitations

Nevermind i can sent images. So thats the line with debug eneabled

the yellow is the outline/ border of the blueprint

and this is the code for the line trace

Hello,

Thank you for sharing last screenshot. You are missing a single node, hence your Line Trace doesn’t work as it should. Add the extra node and you should be good to go.

Also if you find the time, have a look at https://dev.epicgames.com/documentation/en-us/unreal-engine/using-a-single-line-trace-raycast-by-channel-in-unreal-engine

Thank you for your replay, i did what you said but it still happening

here is the code now

This looks okay to me, what seems to be the problem?
You’re trying to interact with the door, if so can you show how you do it please?

from the line trace, you can break the out hit pin and plug the hit component into a print string to see exactly what it is hitting, it sounds like you either have an extra component (which could be an in world widget) or the door has a larger collision for visibility. in the viewport, you can change the view mode to visibility collision to see it

Thats a great idea! i will try it and come back with results

You just helped me so much! i would never think of printing the hit result, the problem was a widget which i forgot to delete,

the funny part is it didn’t had that big scale so idk why id colided, any thank you so much wonce again!!!