I’m trying to check if a player is holding an object in order to make sure the collision effect can’t be triggered by any object entering the trigger, only if the player is holding it, and it’s the right object.
This is my current attempt, and suffice to say, it doesn’t work, and I have no idea why.
As you can see, there are some ToStrings around from my attempt to troubleshoot, not a single one actually gave a message when connected to a Log node.
In my head, this should work, if I have any understanding of Udon (which I probably do not)
Is there an already established way to do this? Is there a better way to do this?