If you please could look at this gif:

You may notice how last parts (previous too) of my chain are moving away. It looks like RevoluteJoint's anchor center is moving.
Creating a joint is as simple as it can be:
This is pretty big problem for me and don't know why does it occur. Is is related to AndEngine and AndEnginePhysicsBox2DExtension which I'm using? Or an old fixed Box2D issue which wasn't merged with AndEngine? Or what?

You may notice how last parts (previous too) of my chain are moving away. It looks like RevoluteJoint's anchor center is moving.
Creating a joint is as simple as it can be:
Code: Select all
public static RevoluteJoint simpleRevoluteJoint(Body bodyAttachTo, Body bodyAttached, Vector2 center, PhysicsWorld physicsWorld) {
final RevoluteJointDef revoluteJointDef = new RevoluteJointDef();
revoluteJointDef.initialize(bodyAttachTo, bodyAttached, center);
return (RevoluteJoint) physicsWorld.createJoint(revoluteJointDef);
}
This is pretty big problem for me and don't know why does it occur. Is is related to AndEngine and AndEnginePhysicsBox2DExtension which I'm using? Or an old fixed Box2D issue which wasn't merged with AndEngine? Or what?