Multiple Characters staying still

I have 2 characters for my game, I switch them by pressing Q, the problem is, one of them has to follow the other one like a pet, but if i switch to it, then switch back, it doesnt follow anymore.Also, if I switch while Jumping, the character stays in air, with no gravity.It`s like all the movement stays when you re not on character, I dont really know what to do and I am a beginner in UE4,