Hello!
I have a question regarding how to create a Loot system when you interact with a inventory container (chests or bodies).
I am far from a experience coder, i started learning C++ around a year ago so im just putting idea’s i like into practice. And this is something i wanted to figure out.
I want to create a looting system based on Character Line Tracing, so when you get near a container like in the example below (game is sea of thieves), The Interact input becomes available & i can open the Actor’s inventory.
I already managed to create a line trace system & to get a input widget to show up when i look at the Actor class & when i look away it dissapears. The inventory widget/System itself is done as wel.
The part where im stuck is how to implement the Widget into the line tracing, so the input when the Actor gets line traced by the Character becomes available.
if this is to complicated to explain, Is there any guide or tutorial online?
Thanks for reading!