How to pick up & carry an object with a player character

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By SockHorse

Hello sorry if this seems like a simple question but I’m new to Godot without much programming experience. I’m trying to get my player avatar to pick up an object & hold it while carrying it.


:bust_in_silhouette: Reply From: Poobslag

The easiest way would be to remove the object, and add it as a child of the player object. Then its position will update automatically as the player moves.