Replicating animations, aim offset, and SetRelativeLocation

I’ve also tackled the animation replication stuff, finally. To control the variables that you have in the animation blueprint, you must have the same variables in your player script, which must be replicated. Then, set the variables in the animation blueprint at the same time you set the ones in the player one. First, you have to cast to your player script, and in the object input, you must place the output of the “Try Get Pawn Owner” function. But the aim offset trouble isn’t fixed yet.