mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-08-21 18:04:27 -05:00
fixed a couple of the bugs that was found in playtest 3
This commit is contained in:
@@ -20,7 +20,7 @@ public class dPlayCam : NetworkBehaviour
|
||||
//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)+2),(player.transform.position.z - offset.z));
|
||||
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