Minor gripe: you should be using SetRootComponent()
instead of accessing the RootComponent
directly.
Secondly, I think your issue will be solved by calling an attachment - You don’t appear to have one after you initialize your child mesh:
ChildMesh->SetupAttachment(GetRootComponent());