Moving "tree" with collission shape

Godot Version

4.3

Question

Hi all,

I added a script to my trees where leaves are moving and also the branches. Now all is working but the bark and branches are with a static body child and when the branch is moving outside that static body it looks weird.

Does anyone know what I can use instead of the static body child for a tree?

Would that work in your case?