I had the same problem some while ago. Here’s the thread:
Here’s the solution were the Pros came up with:
I hope that helps
From my two cents. I think in your code the box1.attachToBone is missing the second parameter. A reference to a mesh. Here’s a link to the documentation