- Edited
Hello. When I was need to get duplicate of object I noticed that for some reason this is a problem. I tried use inst2dict
built-in function, but it works with nodes only, while I need copy of AStar2D
. Yes, I can create new instance and manually fill it using getters of other object (get_points
, for example), but this will work slowly and the code of this will seem terrible.
Maybe, community has some experience solving this? Of course, using GDScript.