Repository navigation
Why the damping exist in spite of I didn't set anything up? #498
|
I'm lerning the bevy and rapier for make vehicle simulator, and I'm trying rapier2d right now for a simple learning experience. I'll generate one spring and mass for each for simple harmonic motion, so I tried this code. I expected that motion would not damp. Also, The same phenomenon also occurred with a pendulum using revolute joint. How to fix it up? |
Replies: 1 comment 1 reply
|
Hi! Every constraint in Rapier is modeled as implicit springs. Implicit springs a great for stability, but introduce numerical damping that can’t really be fixed externally except by reducing the timestep length, or increasing the number of solver substeps. |
Hi! Every constraint in Rapier is modeled as implicit springs. Implicit springs a great for stability, but introduce numerical damping that can’t really be fixed externally except by reducing the timestep length, or increasing the number of solver substeps.