Box2D Forums

It is currently Thu May 23, 2013 11:16 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed Apr 18, 2012 4:42 am 
Offline

Joined: Tue Feb 07, 2012 1:28 am
Posts: 6
Hello everyone,
I am getting an error generated by b2PulleyJoint.cpp. I know why it happens, i just need to catch that error in as3 and show a message to my users saying that they are doing something slightly wrong. How can I catch that error in as3? Is it possible? I have tried try/catch in my as3 files but the error keeps showing…
Thanks in advance!

By the way, the error is this one:
Code:
Assertion failed: (m_limitMass1 > b2_epsilon), function InitVelocityConstraints, file ../Box2D/Dynamics/Joints/b2PulleyJoint.cpp, line 162.

[object AlchemyExit]
   at <anonymous>()
   at <anonymous>()
   at Box2DAS.Dynamics::b2World/HandleStep()[/Users/mariano/Documents/Carpeta Mágica/CA!_2012/programación/bocetos código/p35/wck-lib/Box2DAS/Dynamics/b2World.as:163]
   at flash.events::EventDispatcher/dispatchEventFunction()
   at flash.events::EventDispatcher/dispatchEvent()
   at Box2DAS.Common::b2EventDispatcher/dispatchEvent()[/Users/mariano/Documents/Carpeta Mágica/CA!_2012/programación/bocetos código/p35/wck-lib/Box2DAS/Common/b2EventDispatcher.as:28]
   at Box2DAS.Dynamics::b2World/Step()[/Users/mariano/Documents/Carpeta Mágica/CA!_2012/programación/bocetos código/p35/wck-lib/Box2DAS/Dynamics/b2World.as:158]
   at wck::World/step()[/Users/mariano/Documents/Carpeta Mágica/CA!_2012/programación/bocetos código/p35/wck-lib/wck/World.as:199]


Top
 Profile  
 
PostPosted: Sun Apr 22, 2012 9:49 am 
Offline

Joined: Tue Feb 07, 2012 1:28 am
Posts: 6
Ok, i found a solution inside wck. Thanks anyway!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group