Interacting with individual trees on terrain

Hi, I’m creating a survival type game with unity and my aim is to have each tree on my map able to be cut down or interacted with.

I was wondering if there was some sort of way to tag trees or reference a collision between a tree and a player via script. The tree doesn’t necessarily have to be physically cut down, but I need some way of telling how many times a player has hit the trunk.

The trees I am talking about have been added via the Terrain editor and I would like to keep it that way if possible. I would rather not individually add each tree to the world map :stuck_out_tongue:

Thanks in advance,
Francis

Ok well I figured out this one on my own :stuck_out_tongue: What I did was I made prefabs of each of the trees I wanted to use, I put colliders on them, tagged them as "tree’, added them as new trees in the terrain editor, placed them, and then finally wrote a script to show when two certain colliders touched, i.e. axe and tree.