@Override
    public void setDamping(float dampingRatio) {
        super.setDamping(dampingRatio);

        if (getSpatial() != null) {
            PhysicsRigidBody[] bodies = listRigidBodies();
            for (PhysicsRigidBody rigidBody : bodies) {
                rigidBody.setDamping(dampingRatio, dampingRatio);
            }
        }
    }
Alter the viscous damping ratio for all rigid bodies, including new ones.

@param dampingRatio the desired damping ratio (non-negative, 0&rarr;no
damping, 1&rarr;critically damped, default=0.6)
jme3-jbullet/src/main/java/com/jme3/bullet/animation/DacLinks.java