Download

Pickup with implementation collision and character seen line.

I have trouble with implementation collision pickup function. I have no idea how i can stimulate a character seen vision collison and collision with item shape collider. That item will be pickable when we will be in item shape and we will seeing for him.

Hello,
I am not sure of what you want but if i have understood, you want and to collide and to see the item to be able to grab it. Then you can add a box around item, on overlap, if overlapping actor is player then you set a bool in your item. For visual detection, you use a line trace. On break output, you cast to your item and chech value of your bool. If false nothing, if true : you show a text : e to loot ! And you do your pick up with e key event.