I am new to GODOT and I am making a 3D game and I am trying to make a code where I can pickup items and place them down. I followed a tutorial on how to make an interactable object, but they did not go over picking items up. I've looked at plenty of other places to see if I can code it myself. I learned I could try something with a rigidbody and make the object go to a certain hold point. I haven't figured out what to actually do though. Thanks for any help.
I suggest adding a Marker3D node to your player and setting it to be some comfortable distance from your player. Then when you interact with the object, reparent() the object to the player and set the objects “position “ to be the “position” of the marker. Or maybe just reparent() it to be a child of the marker, I think that should put the object at the Maker3D “position” for you.
When you drop it, reparent() the object to the world and figure out where it should be.
I am putting position in quotes because I don’t have any 3D experience and I am aware that there’s also a transform and a basis, but in 2D land all I know is position / global position.