mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-08-22 18:34:32 -05:00
Did some bugfixing and commented on everything
This commit is contained in:
@@ -17,7 +17,7 @@ public class PlayerCam : NetworkBehaviour
|
||||
|
||||
void Update ()
|
||||
{
|
||||
//if (!IsLocalPlayer) { return; }
|
||||
if (!IsLocalPlayer) { return; }
|
||||
|
||||
offset = transform.parent.forward * rad.magnitude;
|
||||
transform.position = new Vector3((player.transform.position.x - offset.x),((player.transform.position.y - offset.y)+3),(player.transform.position.z - offset.z));
|
||||
|
||||
Reference in New Issue
Block a user