Hello!
notifyObserver
’s parameters are optional, only needed if you want to pass some data to the observers.I tried making a simple example based on socket.io’s Code Sandbox starter, that starts spinning the cube once a connection is established:
Babylon and Socket.io connection - CodeSandbox
Hope it helps