I am actually very new to unity and programming overall but I am trying to make a small 2D game, top down view. I have added a script to the player so it is fully capable of moving in every direction and the camera follows, but that’s all.
Now to the problem, I have designed and added a pick axe to the game but I have no idea how to code it. I would like it to stick to the player when he moves but I have no idea how to. I have searched on the internet without much success.
If anyone could help or just put a link to some useful page it would be heavily appreciated:)