Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var b2Vec2 = Box2D.Common.Math.b2Vec2;
- var b2World = Box2D.Dynamics.b2World;
- var world = new b2World(new b2Vec2(0, 10), true);
- for(var body = world.GetBodyList();body;body = body.GetNext()){
- console.log(body.m_type);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement