I’m working on a RTS, when spawning the characters on client side they are spawned on the server and replicated from there.
When moving the characters from the client, the client is telling the server to move the character and the movement is then replicated.
The problem is that it creates lag when changing direction, it is ugly and I don’t see this effect on any RTS game.
To alleviate this issue I would like to be able to have the client access to the AI controller of the pawn, or to spawn an AI controller for those pawns on client side and then use them client side.
I already searched online but I found nothing. Does somebody know how I could make this work ?
Please, I need to solve this otherwise my game quality would be very bad
If someone has a better idea than what I suggested feel free to help.
Here is a video that show the issue : https://youtu.be/VqViSK7c7g8