Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

too many collisions -- alchemyExit #20

Open
dblunk opened this issue May 15, 2013 · 0 comments
Open

too many collisions -- alchemyExit #20

dblunk opened this issue May 15, 2013 · 0 comments

Comments

@dblunk
Copy link

dblunk commented May 15, 2013

I created a motion controlled interactive piece that uses the xy coordinates of a user's hands (using a kinect) to control "animated type" bodyShapes -- essentially the user can knock around world construction kit physics objects with their hands. I have a lot of bodyShapes on the stage, and if the user frantically shakes their hands around, Alchemy crashes and the world freezes.

I have 2 questions:
A. Is there any way to prevent this error from occuring (id prefer to not reduce the number of bodyShapes on the stage)? Is there a maximum number of concurrent collisions, and is this variable changeable?

B. Is there a way to reload/restart the world object when this crash occurs?

Any help would be greatly appreciated! Here is the output from the error:

Assertion failed: (m_contactCount < m_contactCapacity), function Add, file ../Box2D/Dynamics/b2Island.h, line 74.

[object AlchemyExit]
at MethodInfo-751()
at MethodInfo-394()
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()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant