Hi. Below I wrote my idea of grabbing system.
- Item must be grabbable and have weight.
- If Player is in the range of the item that is grabbable - he can pick it.
- Press E key to pick it up. It will be toggle, so he can drop item by klicking E again.
- Trigger box has requirement of item weight. e.g 2kg to OpenDoor.
- Check trigger box. If grabbable item is overlapping and has >= Required weight
- then OpenDoor
- If trigger box dont have any grabbable item inside, then of course do nothing (uelog “weight of the item and and min requirement” for debugging )
- Player can stack items on triggerbox so player can activate this. e.g two items with 1kg = 2kg so this will activate OpenDoor (my little extension Will check this if I’ll end this game )
Thats my idea of grabbing system. I tried to make it as easy as possible to understand. What do you think?