- Home /
How to only authorise Rotation? -using MirrorNetworking
I can sync Objects' Position, Rotation and Scale with 'NetworkTransform'(-Component), and then set client authority to true or false, if the player should be able to move or rotate by himself.
But is it possible, to give him the authority of Rotating and at the same time no authority to move? For my FPS-Game, I would like him just to be able to rotate and not move.
Thanks in advance
Answer by qsp18 · Dec 07, 2020 at 04:18 PM
I deleted the NetworkTransform and made a SyncVar for y-Rotation. Now we can use the Syncvar to rotate the player each update to it
Your answer
Follow this Question
Related Questions
MIRROR: Connect Android client to PC server? 2 Answers
Oculus VR with Mirror multiplayer - headset is controlling both players 1 Answer
How to use "Sprite" with Mirror 0 Answers
Unity Mirror Network Discovery Stop Joining 0 Answers
Mirror Networking - can't connect to hosted server from phone client 0 Answers