Advertisement
Guest User

Untitled

a guest
Apr 19th, 2014
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. var b2Vec2 = Box2D.Common.Math.b2Vec2;
  2. var b2World = Box2D.Dynamics.b2World;
  3.  
  4. var world = new b2World(new b2Vec2(0, 10), true);
  5.  
  6. for(var body = world.GetBodyList();body;body = body.GetNext()){
  7. console.log(body.m_type);
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement