Treating an actor that consists of multiple componants as one physics body

Not sure if this is the correct way to handle this but in the construction script i have attached the shapes.

This seems to have given me a solution to the issue i was having but perhaps is not the correct way to go?