Hi! I'm a beginner of Box2D and have tried the Python and JavaScript wrappers.
I want to create a world where there is no friction and no damping at all. It seems that even if I set linearDamping and angularDamping of the bodies to 0 there is some damping. It can easily be demonstrated by making a pendulum. Let it fall from a horizontal position. It slows down rather quickly in the beginning, then slower, and at small oscillations it seems able to oscillate forever.
Why is that?
Is there something called global damping which has a nonzero default value? I certainly seems so.
EDIT: Now I see that a free falling object with restitution 0 continues to bounce forever. But when I add a revolute joint to the same object, to make it a pendulum, the oscillations decreases. So the problem seems to be the revolute joint, not any global damping. How come, when I've set the motor to false?
I want to create a world where there is no friction and no damping at all. It seems that even if I set linearDamping and angularDamping of the bodies to 0 there is some damping. It can easily be demonstrated by making a pendulum. Let it fall from a horizontal position. It slows down rather quickly in the beginning, then slower, and at small oscillations it seems able to oscillate forever.
Why is that?
Is there something called global damping which has a nonzero default value? I certainly seems so.
EDIT: Now I see that a free falling object with restitution 0 continues to bounce forever. But when I add a revolute joint to the same object, to make it a pendulum, the oscillations decreases. So the problem seems to be the revolute joint, not any global damping. How come, when I've set the motor to false?