Communication between entities


Hello, how can we communicate between entities, lets say i want to send a message from a box to a board ? is that possible ? I didnt found any event for that only click events.


There is a UserData property you should be able to use.


I was working on an inter-entity communications scheme using the UserData property but decided to wait until hifi advances a bit. Also, it is impossible to find out what is being worked on by the developers and I can’t help but believe that an all encompasing comms system will emerge at some point making a hack of this type useless…


Well, i just came over the same Problem. I think, the Javascript CustomEvent, addEventListener and dispatchEvent would do the Trick, but they need a DOM Element to be linked to. I have no Idea how this would look like in Hifi…