Before the game had an abstract “grab” mechanic. But having a physical tool seems more immersive (Skeuomorphic Design).

Coding that is shocking simple: Trace a ray to the object to grab, get the position, and apply a force on that object from that position towards the player.