1 decade ago by mimik
Hi
I have some box2d problem.
Sometimes i get the good old
This usually happens when an box2d element get's outside of the box2d world.
The error refercse to
lib/plugins/box2d/lib.js (172)
but that's the lib file of box2d, using the box2d library that dominic made.
Have a hard time getting around this error it keeps coming up even when i have no entity outside of the box2d world.
I also notice that sometimes the kill function dosen't get called, or just to slowly.
I get the dead body hanging around on stage with the DebugDrawer.
Anyone have this problem?
Should i upgrade the version of box2d, might that help?
Tried getting around this by increasing my box2d world outside of stage.
I have some box2d problem.
Sometimes i get the good old
"Uncaught TypeError: Cannot read property 'value' of undefined",
This usually happens when an box2d element get's outside of the box2d world.
The error refercse to
lib/plugins/box2d/lib.js (172)
but that's the lib file of box2d, using the box2d library that dominic made.
Have a hard time getting around this error it keeps coming up even when i have no entity outside of the box2d world.
I also notice that sometimes the kill function dosen't get called, or just to slowly.
I get the dead body hanging around on stage with the DebugDrawer.
Anyone have this problem?
Should i upgrade the version of box2d, might that help?
Tried getting around this by increasing my box2d world outside of stage.