Woodcutting Question

I can easily make a woodcutting script however, my question is how would I attach my script to my trees that was terrain painted in? The game rust does this and I don’t understand how. I have messed around with it alot and got nothing so far. Any help would be great!

The short answer is, you can’t have scripts on terrain painted trees. Two options

  1. place colliders (by hand) around a subset of trees and attach ‘choppy’ script to those. Maybe add a particle effect when they are ‘mature’ and ready to be chopped, then track lastChopped and eventually bring the particle effect back.

  2. get at trees via the terrainData matrix.