Hubs-Foundation / hubs

Duck-themed multi-user virtual spaces in WebVR. Built with A-Frame.
https://hubsfoundation.org
Mozilla Public License 2.0
2.13k stars 1.42k forks source link

BG - `Remove Tag` node doesn't fire if entity didn't have the tag #6435

Open j-conrad opened 8 months ago

j-conrad commented 8 months ago

Description The Remove Tag node does not fire its output if the tag doesn't exist on the entity.

To Reproduce Steps to reproduce the behavior:

  1. Open the attached .blend
  2. Note the Start node disconnected from the Add Tag node
  3. Export/run in Hubs
  4. When you click the baseplate button, the torus should light up. It only works if the tag is added to the entity first.

Expected behavior The Remove Tag output should fire, regardless of the tag existing on the entity. Perhaps it could ALSO have 2 outputs that are conditional--like: --> Tag removed --> Tag not found

Screenshots image

Hardware

Additional context This is similar to this bug about the Trigger node's output not firing, except that it's conditional on tags. [Uploading TagNode_bug.zip…]()