I’m using setTag, hasTag and getTag on my nodepath for the gamelogics.
However i did not find a method like the keys() of python map to provide me the list of Tags set for a Node.
Does this method exists?
If not i will make myself a map for my gameobjects …
No, sorry; there’s no simple way to export the iterator through the tags, and rather than doing it the hard way, we just punted. We figured the tag system is designed to be query-response only, and there wouldn’t be much need to iterate through the list of tags on a node.
If you just want to view the list of tags, however, you can do something like this: