I'm wondering if there is a way in spritekit to implement water flowing through a path?
like this water flow
Right now I'm generating the path using UIBezierPath and PaintCode
Any suggestion?
Thanks.
I'm wondering if there is a way in spritekit to implement water flowing through a path?
like this water flow
Right now I'm generating the path using UIBezierPath and PaintCode
Any suggestion?
Thanks.
This is a very interesting topic.
You can build the water effect using SpriteKit and its integrated physics engine.
Then every frame you'll need to:
You can get a better understanding of the process by playing with this interactive demo: http://www.patrickmatte.com/stuff/physicsLiquid/
UIBezierPath
? Isn't that a rendering thing? I thought you were asking about the cool physics. \$\endgroup\$