The battery of my RC car dropped out 1 times too many and I came up with this solution. You will need some kind of foam rubber (see picture). The fit is pretty snug. Initially I wanted to print it in PLA as prototye and PETG when everything fits… fitted pretty well in the first place so I'm with PLA for now. No issues.
The author marked this model as their own original creation.