sarangborude / Bubbles

Sample project for the Bubble Shader Graph tutorial
MIT License
9 stars 0 forks source link

Entity Component System stops updating #1

Closed MAHines closed 1 month ago

MAHines commented 1 month ago

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.

sarangborude commented 1 month ago

Thanks for pointing this out.. I just realized that it is better to use this when updating the system so I am pushing an update to resolve this

image