b2BuoyancyController collision

Discuss issues specific to the Flash/AS3 port of Box2D
blofeld
Posts: 52
Joined: Mon Jun 28, 2010 2:33 am

b2BuoyancyController collision

Postby blofeld » Thu Apr 18, 2013 1:27 am

hello,
i am using the b2BuoyancyController feature to create a "water" effect in a game i am working on.
i would like to fire a sound when a body hits the "water surface" and starts to "sink".
seems the only way to detect collisions with the "water" is to build invisible sensors in the shape of the "pool"?

or is there another way?

any help much appreciated!

Return to “Flash”



Who is online

Users browsing this forum: No registered users and 2 guests