Hello.
For a project I'm testing the correctness of some Box2D features. One of my first tests was to create two objects connected them with a distance joint and let them oscillate. As I understood (and please correct me if I'm wrong) setting a damping ratio of 0.0 would cause the objects to oscillate forever. But the amplitude of the oscillation decreases constantly. Can anybody tell me why thats so?
And maybe you could give me some formulas to calculate the frequency and damping ration from a spring constant k and its damping d? I need that because I wanted to do 'real' physics with Box2D 😉
Best regards
For a project I'm testing the correctness of some Box2D features. One of my first tests was to create two objects connected them with a distance joint and let them oscillate. As I understood (and please correct me if I'm wrong) setting a damping ratio of 0.0 would cause the objects to oscillate forever. But the amplitude of the oscillation decreases constantly. Can anybody tell me why thats so?
And maybe you could give me some formulas to calculate the frequency and damping ration from a spring constant k and its damping d? I need that because I wanted to do 'real' physics with Box2D 😉
Best regards