I'm trying to simulate ideal perpetual motion using Bullet. Something wich acts like a pendulum in vacuum with frictionless joints. I have two rigid bodies (boxes of size 1x1x1). One of them is placed in (0,0,0) with zero mass and second is in (3,0,0) and mass set to 1. What I do is simply make a revolute joint (hinge) in z axis between them and then start the simulation. The expected result should be that movable body starts to swing beneath static body and reaches values (-3,3) in x axis and (-3,0) in y axis. And here is the actual issue. At few first steps the dynamic body have some strange disruptions in motion. Actualy the starting point in x axis looks like is 2.4 not 3.0 and body reaches values >0 in y axis (why?). It also looks like there is some small motions in z axis which shouldn't be there. I believe I've switched off all damping and friction. I use fixed timestep and console interface. Can someone help me?
Here are results for 10 steps of simulation:
Thanks1: x=2.400000; y=0.000000; z=0.000000
2: x=1.920000; y=0.000000; z=0.000000
3: x=1.923805; y=0.019614; z=0.000000
4: x=1.808545; y=0.015989; z=0.002865
5: x=1.777316; y=-0.036467; z=0.007552
6: x=1.738067; y=-0.036059; z=-0.020248
7: x=1.574555; y=-0.035349; z=-0.012763
8: x=1.539199; y=-0.047324; z=-0.059271
9: x=1.687235; y=-0.031838; z=-0.054995
10: x=1.666887; y=-0.060554; z=-0.008543