Box2d strange behaviour

helo,

1st: vux thank you for the box(2d) implementation.

here is my problem:

when using the UpdateBody-node some strange behaviour with the coordinate system occurs.

It seems the updated body creates a new coordinate system when updated.

after updating to point (0,0) several times the updated body jumps to many different positions, sometimes its also constantly moving/rotating around, even when update = 1.

anyone have an idea?
someone is able to explain how the update-node is working?

thx_alex

box2d_test01.v4p (51.5 kB)

You also need to update the velocity and angle of the paddle using the Updatebody node.

It’s good practice to not have the border boxes touching (put them very close together).