Hello,
I am trying to replicate animations, so everyone can see them. In blueprints I tested it like this:
It works and replicates across clients and the server, but I transfer is to c++ and it doesnt work.
In C++ I am doing it like this:
void AValorCharacter::Server_PlayAnimation_Implementation(UAnimMontage * Animation, float playrate, FName Section, AValorCharacter * Character)
{
Multicast_PlayAnimation(Animation, playrate, Section, Character);
}
bool AValorCharacter::Server_PlayAnimation_Validate(UAnimMontage * Animation, float playrate, FName Section, AValorCharacter * Character)
{
return true;
}
void AValorCharacter::Multicast_PlayAnimation_Implementation(UAnimMontage *Animation, float playrate, FName Section, AValorCharacter* Character)
{
PlayAnimMontage(Animation, playrate, Section);
}
bool AValorCharacter::Multicast_PlayAnimation_Validate(UAnimMontage *Animation, float playrate, FName Section, AValorCharacter* Character)
{
return true;
}
Whats happening is that the root motion of the animation is moving the character around but none of the bones move or animate. What’s going on?