Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(7)  |  Derive(0)  |  Import(1)

src/b/l/bloodyhell-HEAD/bloodyhell/world/__init__.py   bloodyhell(Download)
from bloodyhell.world.camera import Camera
 
from Box2D import b2AABB
from Box2D import b2World
from Box2D import b2Vec2
        worldAABB.upperBound = (1000, 1000)
        gravity_x, gravity_y = gravity
        gravity = b2Vec2(gravity_x, gravity_y)
        self._box2d_world = b2World(worldAABB, gravity, True)
        self._contact_listener = ContactListener()

src/l/i/Little-Python-Ball-Game-HEAD/src/Death.py   Little-Python-Ball-Game(Download)
        self.message_body.CreateShape(shapeDef)
        self.message_body.SetMassFromShapes()
        self.message_body.SetLinearVelocity = box2d.b2Vec2(100.0,0)
 
 

src/s/p/spacecraft-HEAD/spacecraft/world.py   spacecraft(Download)
    def ReportFixture(self, fixture, point, normal, fraction):
        self.fixture = fixture
        self.point = Box2D.b2Vec2(point)
        self.normal = Box2D.b2Vec2(normal)
        return fraction