RootComponent is keeping it's spawn location

I inherited character class and changed it’s root component. But when I spawn and move around, the root component is keeping spawn location and not moving with character.

Root = OI.CreateDefaultSubobject(this, TEXT(“Root”));

SetRootComponent(Root);
GetCapsuleComponent()->SetupAttachment(Root);

1 Like

That would be because by default the character sets the movement component’s updated component to the capsule component I believe. In your constructor you’ll need to set it to your new root component.