1st Person Character picking up objects

Hey everyone,

I am new to UE, and I have been searching all day to find the solution too the following:

1- When my 1st person character comes in range of a PickUp object, it is going to be able to pick this item up by pressing a key.
2- The object moves (lerps, not teleports) from its location to the hand reference point (static point on the right side bottom corner on the screen)
3- The player is able to place the object back anywhere in the world, indicated with a ‘casted’ overlay (or something)

The part that I need help with is point 2, my attemps have failed so far and the online solutions mostly teleport the item. (from this I am hoping to figure out point 3)

Thanks in advance!

Sounds like a job for a Timeline - have you tried that? Although I am confused by the part where we pick it up yet it moves away…, and that it moves in screen space! What are we dealing with exactly?

You can place a collision volume (box, sphere, etc.) on your target point and move your actor until it overlaps like this:

You can get the player’s location, subtract it from that actor’s location, turn the result into a unit vector by using the Normalize node, and plug it into the New Transform Location node. And to trigger the movement, you can call the custom event (which is called “Move” in this example) that opens the gate by right clicking on an empty space, typing in the custom event’s name and placing it after your input action for the picking up mechanism. (The call version of the custom event should be a blue node unlike the trigger version which is red)

You can also choose not to use additional collision volumes and just check if the overlapping actor (which you can access from the Other Actor pin of the Event Actor Begin Overlap node) is the player or not and only close the gate if it is.


Another approach could be triggering a loop that constantly sets your actor’s world location but then you’d need to check if it’s location matches with the target location to stop the movement, which isn’t a pretty reliable detection method. (That’s because their locations almost never aligns perfectly and adding a radius to solve that would produce another problem which is the actor not ending up in the same place on each trigger.)

Hope this helps! :blush:


From my understanding, OP doesn’t use the usual grabbing approach but rather pulls the item closer to the player like how Jedis do :smiley:

OMG, thank you so much! I had a few things to figure out after this, but it is finally working as I wanted.

I don’t know how visible it its, but here is the end result:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.