I'm very excited about this feature.
I just put it into a game that my team are sending to a competition soon.
noticed a few minor bugs.
haven't run any simplified tests yet but here is what i think I'm seeing.
beginContact doesn't seem to happen for wave humps. but does happen for the area the rectangle box occupies.
Circles break it, not always instantly but seems to happen every time after a few seconds.
here is the error traces
Quote:
Warning: Filter will not render. The DisplayObject's filtered dimensions (-222384660, -222384660) are too large to be drawn.
Assertion failed: (kNormal > 1.19209290E-07F), function InitializeVelocityConstraints, file ../Box2D/Dynamics/Contacts/b2ContactSolver.cpp, line 159.
[object AlchemyExit]
at <anonymous>()
at <anonymous>()
at Box2DAS.Dynamics::b2World/HandleStep()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at Box2DAS.Common::b2EventDispatcher/dispatchEvent()
at Box2DAS.Dynamics::b2World/Step()
at wck::World/step()
Assertion failed: (kNormal > 1.19209290E-07F), function InitializeVelocityConstraints, file ../Box2D/Dynamics/Contacts/b2ContactSolver.cpp, line 159.
the [object AlchemyExit] .... bit repeats after that.
and the waves spike a lot like a tremendous force keeps crashing into the water.
pretty sure i can just use oval for now (since its built with line segments it's not likely to experience the error)
so not a show stopper.
thank you so much for this wave stuff !