I have created pulsing bars, similar to music equalizers. Now, I set them no gravity and controll them with setLinearVecolity. It behaves correctly and I see same result as if I set position directly.
Problem is, that if I want to have those bars collided with some other geometry, it is no working correctly. I am throwing balls on top of those bars. They bounce and are pushed by bars, but after some time, bars and balls go through each other and stuck inside each other. I must admit, that there ciould be some big changes in applied velocity from frame to frame, including negative one to move bars in oposite dirrection.
I have also tried controll bars with applyCentralForce, but it behaves weird. For example: First iteration works, I got correct position. In second one, there is 0 difference in height, so no force should be applied. I set force to be 0. But in the next iteration, even with no force applied in previous one, position of object has changed. There is no gravity and no other external force. There are no other objects in scene as well (I disabled falling balls).
Any ideas ?