How to do animate water using chipmunk?

Official forum for the Chipmunk2D Physics Library.
Post Reply
inamabbas
Posts: 2
Joined: Fri Apr 15, 2011 8:16 am
Contact:

How to do animate water using chipmunk?

Post by inamabbas »

Hi,

I am trying to create an application very similar to iBeer(http://www.youtube.com/watch?v=A3MfQIswl3k) I want to fill iphone from virtual water and can shake it so it produce bubbles? I tried to search any similar example of code as I am very new to cocos2d but I can't. I wanna know how can I do this? Any helpful links? Do I have to use chipmunk or anything else?

Thanks Mani
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: How to do animate water using chipmunk?

Post by slembcke »

Chipmunk won't help you as it does rigid body simulation. What you want is fluid simulation. Googling for "2D fluid simulation" will probably get you some pretty helpful results.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
inamabbas
Posts: 2
Joined: Fri Apr 15, 2011 8:16 am
Contact:

Re: How to do animate water using chipmunk?

Post by inamabbas »

Thanks for the reply :)
Wonder how it is working with chipmunk + particle engine http://www.youtube.com/watch?v=V1xiVyJ3EOM ?
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: How to do animate water using chipmunk?

Post by slembcke »

In that video they create thousands of tiny frictionless circles. It works, but it's extremely slow. You don't want to do that in a game if you want to run at > 0.5fps. ;)
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests