I am unable to reproduce, since this has been able to run smoothly for thousands of times, but one time when I was setting the mass of a small object which is not dynamic (it's a set, standard ball) and has been successfully created plenty of times before, it threw this error:
Assertion failed: (m_I > 0.0f), function SetMassData, file ../Box2D/Dynamics/b2Body.cpp, line 352.
[object AlchemyExit]
at Function/<anonymous>()
at Function/<anonymous>()
at Box2DAS.Dynamics::b2Body/SetMassData()[\frameworks\Box2DAS\Dynamics\b2Body.as:266].
Which followed with these errors:
Assertion failed: (kNormal > b2_epsilon), function InitializeVelocityConstraints, file ../Box2D/Dynamics/Contacts/b2ContactSolver.cpp, line 159.
[object AlchemyExit]
at Function/()
at Function/()
at Box2DAS.Dynamics::b2World/HandleStep()[\frameworks\Box2DAS\Dynamics\b2World.as:162]
Assertion failed: (a.x >= 0.0f && a.y >= 0.0f), function SolveVelocityConstraints, file ../Box2D/Dynamics/Contacts/b2ContactSolver.cpp, line 374.
[object AlchemyExit]
at Function/<anonymous>()
at Function/<anonymous>()
at Box2DAS.Dynamics::b2World/HandleStep()[\frameworks\Box2DAS\Dynamics\b2World.as:162]
Assertion failed: (m_entryCount < b2_maxStackEntries), function Allocate, file ../Box2D/Common/b2StackAllocator.cpp, line 38.
[object AlchemyExit]
at Function/<anonymous>()
at Function/<anonymous>()
at Box2DAS.Dynamics::b2World/HandleStep()[\frameworks\Box2DAS\Dynamics\b2World.as:162]
I am unable to reproduce, since this has been able to run smoothly for thousands of times, but one time when I was setting the mass of a small object which is not dynamic (it's a set, standard ball) and has been successfully created plenty of times before, it threw this error:
Which followed with these errors: Assertion failed: (kNormal > b2_epsilon), function InitializeVelocityConstraints, file ../Box2D/Dynamics/Contacts/b2ContactSolver.cpp, line 159. [object AlchemyExit] at Function/()
at Function/()
at Box2DAS.Dynamics::b2World/HandleStep()[\frameworks\Box2DAS\Dynamics\b2World.as:162]