replication for moving actor
I have a dedicated server with two clients.
If one character has an impact with some actor, this actor is bouncing from the character to a new place. However, another client observes another new location of the object. It looks like each client calculates the bounce itself.
I want to have all the movements of an actor on the server with exact representation for all clients. I played with replication setpoints, but it gives nothing.
Please help with setting for replication. Maybe something else is wrong.
asked Oct 12 '18 at 04:55 AM in Using UE4
"replicate movement" works just for a root component. For this feature, StaticMeshComponent must be chosen as "root".
If not, it is just changing location in reference to root component.
answered Jan 09 '19 at 05:59 PM
If you are using the Static Mesh Actor as you physics objects parent class, you can set the "replicate movement" flag on for that actor. This should do all replication automatically.
answered Oct 12 '18 at 08:18 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here