Not sure if I’m in the right section here so sorry if I I’m not.
I want to make a tree/rock that lets you hit it and slowly gets destroyed and you get resources after each hit. (i.e. when you hit a tree you get wood after hitting it.)
Any feedback is greatly appreciated. Not sure how I would go about doing this.