Pathfinding doesn't work in a networked game.
So, using the top down template, I cannot get this to work. Making SetNewMoveDestination an RPC that is executed on the server has two problems;
Why does this happen? I'm using SimpleMoveToLocation which uses the controller extensively for some reason. This looks like it might be the problem, however I have no idea how to do path finding without it.
There have been few posts on this issue:
https://answers.unrealengine.com/questions/39576/pathfinding-of-a-pawn-of-a-player-controller-in-a.html https://answers.unrealengine.com/questions/31269/character-not-moving-on-client-in-top-down-templat.html https://answers.unrealengine.com/questions/34074/does-ue4-have-client-side-prediction-built-in.html
This is from May last year, and this is still an issue.
If SimpleMoveToLocation isn't meant for networking, then how is this meant to be done without controlling the character through an AIController? Finding documentation on Networking, path finding or C++ in unreal is difficult enough. Finding documentation on all those together is near impossible.
asked Apr 03 '15 at 03:10 AM in C++ Programming
Currently having an
answered Apr 03 '15 at 08:31 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here