How to create Buoyancy effects

Hi,

I am trying to create Buoyancy effects , i have given the class definition of wck.BodyShape, and when i go for shift + f7 in the component inspector i do not see any option related to liquid, can any one please suggest how do i implement this here in wck as in the demo when the check the library object it is showing options related to liquid, but not when i am doing this , where am i going wrong ....

thanks

Jin
any one please
Haven't used buoyancy yet so I looked at the demo and it seems like that in the WorldBuoyancy example you can set up regions that will create the buoyancy effect. Look at BuoyancyBox80 (bwaves) which is a wck.Buoyancy object. There is also code in WorldBuoyancy.as to create a wave.
@istvan - thanks a lot, it works perfectly now ...


Jin

Original thread: https://box2d.org/forum/viewtopic.php?t=8741