0
\$\begingroup\$

i am using mirror networking which is based on UNet. I can move non local objects easly by assigning their authority to the local player and move them, but i can't assign/remove authority for other player's in the game, therefore i can't directly change their velocity. Any ideas how can i change other non local player's velocity from local player ?

\$\endgroup\$
2
  • 1
    \$\begingroup\$ Have you considered sending a message to that other client, requesting that it move the character under its own authority? \$\endgroup\$
    – DMGregory
    Jan 4 '21 at 22:30
  • \$\begingroup\$ I am very newbie about networking, i will look into it thanks @DMGregory \$\endgroup\$ Jan 4 '21 at 22:31
0
\$\begingroup\$

Well, i don't know if this is the proper way but i have managed to solved this by sending message to server and server sending that message back to the clients. Clients can act (move in my case) upon that.

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .