So currently I have it so that the player can pick up an item and hold it (Looks like the player is holding the item in their right hand).
I also have the code for it to drop but it's currently not working, I'm going to spend time looking at and try to get this sorted before our classes start next week.
At the moment every item that needs to be picked up and dropped needs to be directly named in the code in order to be picked up, I will try and have it so that it works with all items tagged as a pickup-able item can be picked without their exact name having to be named in the code as this would help to save some time when we want to add more items.
So currently I have it so that the player can pick up an item and hold it (Looks like the player is holding the item in their right hand). I also have the code for it to drop but it's currently not working, I'm going to spend time looking at and try to get this sorted before our classes start next week. At the moment every item that needs to be picked up and dropped needs to be directly named in the code in order to be picked up, I will try and have it so that it works with all items tagged as a pickup-able item can be picked without their exact name having to be named in the code as this would help to save some time when we want to add more items.
Image of item before being picked up
Item that has been picked up