Hi all. This is going to end up being a pretty specific question but I’m hoping someone else has had this same problem. Thanks in advance!
I’m trying to wrap my head around how the CharacterMovementComponent should be properly used to set up custom movement modes in a networked game. At the moment I’m trying to make my character dash/roll forward, in a fixed direction for a certain amount of time.
I have SetMovementMode replicating properly using an extended SavedMove to trigger the movement mode change but I’m stuck trying to get an FVector (the fixed roll direction) replicated properly between the client and server.
I was under the impression that I could pass the FVector through the SavedMove but have had little success. Also replicating the vector the standard way using lifetime replicated props only works at 0 latency.
Am I misunderstanding how SavedMove should work? Or is there some other way I should be replicating the vector?
Still poring over the 12000 lines of CharacterMovementComponent but would appreciate any insight into the problem.