I'm trying to write a game that uses the andengine box2d extensions but am having trouble placing objects in he scene without them 'bouncing' around.
Imagine I want to build a scene like Angry Birds where there are blocks that are in place and need to be knocked over or similar. My problem is that any objects I place in my scene seems to 'bounce' when they are placed on top of another object. I don't want these to move unless something hits them.
How do I place stationary items in my scene without them 'bouncing' so I can build structures out of blocks?
I'm using simple sprites like such:
Using java Syntax Highlighting
- this.mBlockTextureAtlas = new BitmapTextureAtlas(32, 256, TextureOptions.BILINEAR);
- this.mBlockTextureRegion = BitmapTextureAtlasTextureRegionFactory.createFromAsset(this.mBlockTextureAtlas, this, "block.png", 0, 0);
Parsed in 0.031 seconds, using GeSHi 1.0.8.4
then:
Using java Syntax Highlighting
- block = new Sprite(pX, pY, width, height, this.mBlockTextureRegion, this.getVertexBufferObjectManager());
- body = PhysicsFactory.createBoxBody(this.mPhysicsWorld, block, BodyType.DynamicBody, objectFixtureDef);
- this.scene.attachChild(block);
- this.mPhysicsWorld.registerPhysicsConnector(new PhysicsConnector(block, body, true, true));
Parsed in 0.031 seconds, using GeSHi 1.0.8.4
Now this block is being placed on top of a static sprite but it still 'bounces' when the scene is activated..
This is driving me crazy! Any ideas?

