As described in the file comments, I modified ImmersiveView.swift and BubblesApp.swift to use the Entity Component System. I then changed speed in BubblesSystem.swift to 0.001 to make the physics more apparent. When I compile and run the app, the bubbles move for a second or two, then freeze in place. This behavior is unexpected, as the bubbles should continue to propagate forever.
I had the same problem with the code that I generated when following the YouTube tutorial.
As described in the file comments, I modified ImmersiveView.swift and BubblesApp.swift to use the Entity Component System. I then changed speed in BubblesSystem.swift to 0.001 to make the physics more apparent. When I compile and run the app, the bubbles move for a second or two, then freeze in place. This behavior is unexpected, as the bubbles should continue to propagate forever.
I had the same problem with the code that I generated when following the YouTube tutorial.