hi all,
i've implemented buoyancy in my Box2D port and now i am trying to make it more realistic by generating splashes when the body hits the water surface. here is a demo: http://www.polygonal.de/dev/motor2/buoyancy.html
Although I'm using the 'interpolated surface normals' (press the surface normals button to see what i mean) it barely affects the movement of the body. I want some drifting, so the bodies are carried away. I'm also only clipping the shape against a straight line for computing the submerged volume - anything else would be too expensive i think.
i've implemented buoyancy in my Box2D port and now i am trying to make it more realistic by generating splashes when the body hits the water surface. here is a demo: http://www.polygonal.de/dev/motor2/buoyancy.html
Although I'm using the 'interpolated surface normals' (press the surface normals button to see what i mean) it barely affects the movement of the body. I want some drifting, so the bodies are carried away. I'm also only clipping the shape against a straight line for computing the submerged volume - anything else would be too expensive i think.