Hi there! I need to be able to check whether a particular node’s tag is set to traversable in a Seeker’s tagMask. Is there a tidy way to do that? I searched the forum and couldn’t find anything.
I have an AI that samples potential destination nodes, scores them based on contextual factors, and caches them for its next move decision. It should exclude destination nodes that the seeker can’t actually traverse. I had been using node.Walkable for this, but now I have agents that are constrained by different tag masks.
Something like this fake helper method is what I’m after:
If there’s some fancy bitmask math to do, I’ll do it, I’m just not sure exactly how. I’ve set bits in the tagMask before, but I’m not sure if comparing individual bits works in a similar way.
Appreciate any help, thanks!