Hello, I’m trying to make 2d top down survival game and I can’t figure out how to make breaking system like chopping trees, etc.
I don’t know if I should use tilemap or sprite 2d node for it. I have my tree node as unique scene and it have Rigidbody2d node with tree sprite on it and area 2D node to understand when a player is near a tree and performs an action. I wanted to make tree break when player hit it, using area2D.
Is there any way to make a certain tree break or should I use a tilemap for this?
There is some code I tried to make