How to replicate location
Hi everyone, I am just starting with replication and dedicated server architecture. I have a custom pawn class which is used as a base for planets put in the game. I have a loop that ticks every second which calls methods responsible for the movement of the planet around itself and around it's sun. What I want to achieve is this. The loop should be called on the server only and then the new location of the planet to be replicated to all the clients. What I did try was this:
I also checked the following properties in the editor: Replicates, Replicated Movement, Always Relevant. Can someone explain how should I achieve this. Any help would be appreciated. If the other part of the code is needed I will post it.
asked Jul 16 '15 at 10:51 AM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here