Hi,I am new in impact.I want to create boundary or worldBoundingBox.I created worldBoundingBox and body but whenever Dynamic body is collided with boundary it show error..........
I am doing this:
var worldBoundingBox = new b2.AABB();
worldBoundingBox.lowerBound.Set( 0, 0 );
worldBoundingBox.upperBound.Set (ig.system.width * b2.SCALE, ig.system.height/2 * b2.SCALE);
var gravity = new b2.Vec2( 0, this.gravity * b2.SCALE );
ig.world = new b2.World( worldBoundingBox, gravity, true );

I tried this also:
var boundingBox = new b2.AABB();
boundingBox.lowerBound.Set( 0, 0 );
boundingBox.upperBound.Set( 800, 430);
var gravity = new b2.Vec2( 0, 30 );
// Create the world and make it globally available as part of ig.
ig.world = new b2.World( boundingBox, gravity, true );

It showing Error in lib:
Uncaught TypeError: Cannot set property 'value' of undefined
a.DestroyProxylib.js:1304
a.DestroyProxylib.js:837
a.SynchronizeShapeslib.js:1772
a.Solvelib.js:3142
a.Steplib.js:3091
ig.Box2DGame.ig.Game.extend.updategame.js:121
window.ig.Class.extend.prototype.(anonymous function)impact.js:402
ig.Box2DGame.extend.updatemain.js:97
window.ig.Class.extend.prototype.(anonymous function)impact.js:402
ig.Game.ig.Class.extend.rungame.js:153
ig.System.ig.Class.extend.runsystem.js:101
(anonymous function)

I think its not set value of upperBound...because whenever Dynamic body and boundary will collide its crash...........

If any idea please reply me as soon as possible
waiting for your reply
Thank U