In Character Component. I am having problems with the replication of capsule Relative Location and VrOrgin scene where the camera is. Basically, it works fine offline but for some reason, I can not manage to make it work on the client-side.
Same problem here. I set a different relative location on a child component of the capsule (a mesh), but it does not save the new relative location client side. Works ok only locally.
Well, I did give up on it. No answer found so, in the end, I did use a free plugin from the UE4 forum don’t remember the exact name it was something like Advance VR.
Literally, I have the same issue. Either of you guys get a solution? I opened up a forum post but I’m still baffled as well. Seems like maybe a bug?
I have found a workaround and it works
It seems that Unreal Engine has an unresolved bug: runtime relative location modifications to capsule component children are reset every tick by the engine network smoothing.
Assuming that in a particular game case I want to temporary change the Capsule Component relative location, I have to do this in C++ before the change:
CharacterMovement->NetworkSmoothingMode = ENetworkSmoothingMode::Disabled;
And then, after I change again the relative location to normal, I reset the Network Smoothing to the previous state:
CharacterMovement->NetworkSmoothingMode = ENetworkSmoothingMode::Exponential;
It definitely worked for my case! Hope it helps.
Thanks a lot!