AAdvancedCharacter::AAdvancedCharacter(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer.SetDefaultSubobjectClass(ACharacter::CharacterMovementComponentName))
{
}
I am creating a custom character. I want to change the Skeletalmesh component class, the charactermovement component class, and the collision capsule component class.
I’d want to basically do this bit for all 3 of the components I want to change but am having trouble figuring out how.
Super(ObjectInitializer.SetDefaultSubobjectClass<UCustomMovementComponent>