I’m new to Unreal Engine and game development in general and I’ve been following a tutorial on Youtube. Basically what I’m trying to create is an Overcooked-like game and right now I’m stuck at implementing a grab and drop function but it doesn’t work.. I’m on 5.6 and they guy who made the tutorial was on an older version from 2 years ago.. Does anyone have a solution? Thank you in advance!
Hey @darkciderr! Welcome to the forums!
Let’s start with this, before I get any further:
The empty triangles mean these will NEVER go off. The white line is the execution line, if a node has these then it needs the execution line to function at all. Green (pure) nodes don’t need this as they only gather information, they don’t change anything.
Could you link that Tutorial? 2 years ago this wouldn’t have worked either. Maybe I can take a look? ![]()
Hey @darkciderr!
Did you get it figured out? Let us know how it went!
Oh yes, absolutely! Here is the link to the video: [UE 5.2.1] Cooking Simulator #2 - Grab&Drop Objects [Overcooked Like Game]
Also I forgot to mention, i made some changes from the video and did what chat GPT told me to do.. but basically i had everything the same as the guy in the tutorial and it wasn’t working at all.
Ah, that is likely part of the problem. ChatGPT is good for ideas but kind of terrible when it comes to specifics, it likes to make things up and sometimes is straight up wrong… But it sounds so CONFIDENT when it’s wrong it’s hard not to believe it!
The parts I marked above in the image with the red circles… that stuff isn’t there in the tutorial. Let’s take some steps back, undo what ChatGPT said, and make it exactly like it is in the tutorial to get the base functionality working, THEN branch away from that working version!
Alright, so I just did some changes. I tried a different tutorial, I made my own object in blender and I imported it into Unreal Engine and my pick up feature works. The problem I have no though is that the object I pick up appears a far ahead of me. Also, just to mention, when I change the rules in the Attach Actor To Component to "Snap To Target” my object disappears.
So what’s happening in this node:
You are attaching the Item’s root component to the player’s Mesh, but you are not giving a specific location for it to attach to (via a socket). You are keeping it relative to the player’s movement, so it’s just staying the same distance away, in the same direction.
Snap to target would mean it’s going to your player mesh’s 0,0,0 root, so it’s likely going INSIDE of your player’s mesh! ![]()
Okay I finally managed to do it. Thank you for the help man!





