“Get Hit Result Under Cursor by Channel” sometimes shown X : 0, Y : 0, Z : 0 on Client for some reason
then got fixed after i added and Compared them with “Line by Trace” but even if it shows true Location i clicked :
Standalone (For single-player i think?) : Works
Listen Server : [ Server : Works ], [ Client : Doesn’t Work ]
Only Client : Doesn’t work
I am trying to make Multiplayer but somehow cannot move Client-side
Here is the video showing both Server-Side and Client-Side :
Video seems laggy for some reason after uploading it… for somereason…
Uploading a 2nd video hoping, it won’t be laggy after upload?
The server is an authoritative model. The move to command should be made via an RPC (remote procedure call) from the client to the server.
The simple move to should be called on the server passing in the vector location to the RPC. (make a custom event, change it to server and add a vector input to pass along the information).
Then instead of calling the simple move to directly, do it via the server event which in turns calls simple move to on the server side.
I call it from PlayerController, Server and Standalone can move but if “Client” it doesn’t want to move
there is 1 time it worked but its not the way i want
i had to make it “Triggered” and hold the Left Click to move it, which is not what i want :C
Thank you, i will take this as an example and implement it this way!
i didn’t understand pre-made TopDown template last time
now that i am checking it carefully
i can see what i have done wrong and how to do it better way
once I achieve my Goals
I will make Tutorial about how to make all this easily ( i believe )
Why? Because most of “Point to Move”/“Click to Move” like things mostly show Single-Player related things…