Using Blueprint Events to Pick Up Objects
08 January 2025
-----
...By watching the Gorka Games tutorial "How to Make a Simple Pick Up System in Unreal Engine 5 - Beginner Tutorial", I was able to follow along with the tutorial and eventually got it to work (on the second attempt).
I learned how to create a 'collision box' around an asset on the screen (e.g. a bottle in this case), so that when the character comes within range of that box, specific actions can be triggered (like enabling the character to pick up the asset).
Here is a screenshot now showing a bottle and a big white pill on the ground (highlighted in green).
If the character gets within range to pick them up, the player can press 'E' on the keyboard, and the object disappears from the ground and a message appears on the screen saying "Item picked up".
SUCCESS!
---
Overall this has been a great day. Giant thanks to the stand-in teacher, Kim, for helping out today and pointing me in the right direction when I had no clue how to achieve things (like picking up objects).




Comments
Post a Comment