Hello world! 🙂
I'm just curiuos, did you use water in your 2d applications, and if so you should be simulating
that by own Solver, or even add this feature to box2d internals,
but itsn't buoyancy should take it's place as integrated feature just as joints?
I know that is quite easy to use buoyancy approach, that Erin put to
GoogleCode page with Box2D, but if add this to box2d internals, there
would be possible futute source comparsions with new revisions of original engine, then adding
commiting things on your own host, and so on.
I inspect approach of that buoyancy3D demo couple years ago, and it's not
too hard, except there was some parameter like "length" that seems to me
some magical number, and defined by thought per shape.
So the thing is, how do you guys think,
for further improvement of box2d engine
this possibility should be added or not?
I guess Erin as more smart physician can add
to possible new version of box2d some kinda extended
conception of simulating water behavior?
As for me, I'll implement some addition as class b2WaterVol
and b2WaterLevel
the idea is to use kinda water volumes, in
dry game levels, and water level is
for sea levels, like if you acting on boat.
so water volumes is AABB inside of which
entities will act like in pool
and water level will define volume all
around at some global heigth and few distortion
coefficients.
Thoughts?
I'm just curiuos, did you use water in your 2d applications, and if so you should be simulating
that by own Solver, or even add this feature to box2d internals,
but itsn't buoyancy should take it's place as integrated feature just as joints?
I know that is quite easy to use buoyancy approach, that Erin put to
GoogleCode page with Box2D, but if add this to box2d internals, there
would be possible futute source comparsions with new revisions of original engine, then adding
commiting things on your own host, and so on.
I inspect approach of that buoyancy3D demo couple years ago, and it's not
too hard, except there was some parameter like "length" that seems to me
some magical number, and defined by thought per shape.
So the thing is, how do you guys think,
for further improvement of box2d engine
this possibility should be added or not?
I guess Erin as more smart physician can add
to possible new version of box2d some kinda extended
conception of simulating water behavior?
As for me, I'll implement some addition as class b2WaterVol
and b2WaterLevel
the idea is to use kinda water volumes, in
dry game levels, and water level is
for sea levels, like if you acting on boat.
so water volumes is AABB inside of which
entities will act like in pool
and water level will define volume all
around at some global heigth and few distortion
coefficients.
Thoughts?