@ -13,8 +13,7 @@ public partial class PickupController : Node3D
{
_player = GetParent<Player>();
// TODO: Find a better way to find the world.
// For now we just use the parent of the `Player` object.
_world = _player.GetParent<Node3D>();
_world = GetNode<Node3D>("/root/Game/Workshop");
}
public override void _UnhandledInput(InputEvent @event)