I have a class called BasicTree which has a node and a model. I want to be able to put these trees all over the map. I have achieved that but now I want to clear the map and put them all in new positions.
How do I delete the node and model and (maybe?) the entire class instance so that if the world repopulates many times, these tree instances don’t get left and cause a problem later?
New to c++ and new to Urho3d…
Thanks!