collision errors with v1.4.3

heyo there!

in my world are a few ground bodies which i move around the world (i call setcenterposition() on the new calculated coordinates). when i add a few static bodies and "shoot" them against these moving ground bodies everything works fine.

but when i connect these static bodies with a joint the collision-detection isn't always working as it's intended to be and the static body is just moving through the moving ground body.

i made two screenshots of the scene to show you what i'm writing about.
Sorry, I'm not following. Your description seems inconsitent.

static: unmoving, fixed, (zero mass in Box2D).

Is the ground body static? Are the circles static or dynamic? What kind of joint are you using?
Erin Catto wrote:
Sorry, I'm not following. Your description seems inconsitent.

static: unmoving, fixed, (zero mass in Box2D).

Is the ground body static? Are the circles static or dynamic? What kind of joint are you using?

the ground bodies (= the level borders) are static (mass is zero) because i don't want them to be affected by incoming circles. but now i wrote a function to move them around (as some kind of obstacles for the circles), by calling setcenterposition on the static body on every update circle.

all the circles are dynamic and are connected with a prismatic joint.

[edit]
tried to make the ground bodies dynamic by setting their density value to something > 0, but the collisions still don't work as they should. 🙁
One thing you might look at is the collideConnected flag in the joint definition. This might be turning off the collision you desire.
Erin Catto wrote:
One thing you might look at is the collideConnected flag in the joint definition. This might be turning off the collision you desire.

hmmm... the collideconnected-flag is set to true. something wrong with that?
If it is set to false, the connected bodies should collide. Is this what you want?

Original thread: https://box2d.org/forum/viewtopic.php?t=280