Floating your boat...

BlitzMax Modules Forums/Brucey's Modules/Floating your boat...

Well !
Very interesting new controllers :)

I spend hours to reproduce a correct buoyancy surface with submerged points forces.
I'm wondering how much this one is faster than mine.
Won't be too hard to implement since my version use a sensor as water shape.

Since b2BuoyancyController is based on an infinite normal plan, I will often need to add and remove bodies to the b2Controller list.
This is not a "normal" blitzmax List ( GetBodyList:b2ControllerEdge() )
Can you tell me if I need to verify before adding if a body is already present in the list by cycling into it or is this done automatically ?
I don't know well how to cycle into all these Controllers.
Any examples on how to do this ?