Large diffs are not rendered by default.

@@ -358,7 +358,7 @@ public Vector3 GetHorVelocityCheck()
{
if(CharacterSelect == Character.BusinessMan)
{
return HorVelocityCheck * 1.8f;
return HorVelocityCheck * 1.5f;
}
if(CharacterSelect == Character.Karate && SpecialsLeft == 0)
{
@@ -367,7 +367,7 @@ public Vector3 GetHorVelocityCheck()
//Debug.Log("car boost " + HorVelocityCheck.magnitude * 5f);
//Debug.Log("car boost 2 " + HorVelocityCheck.magnitude * 5f * timeInAir);
Debug.Log("car boost 2 " + (HorVelocityCheck.normalized * magStorage * 1.3f));
return HorVelocityCheck.normalized * magStorage * 1.3f;
return HorVelocityCheck.normalized * magStorage * 1.5f;
}
if (CharacterSelect == Character.Firework && SpecialsLeft == 0)
{
@@ -18,7 +18,7 @@ public class playerController : MonoBehaviour
private float rotationY = 0F;
private Quaternion originalRotation;

bool win;
public bool win;

Transform player;

@@ -54,7 +54,7 @@ public class playerController : MonoBehaviour
float nextCarTimer;
public IPlayer thePlayer;

private bool IsKilled;
public bool IsKilled;

float deathcammultiplier;
bool carkilled;
@@ -330,7 +330,7 @@ IEnumerator WaitToRagdoll(Vector3 impactVelocity, Vector3 hitNormal)

void OnCollisionEnter(Collision other)
{
if (other.gameObject.CompareTag("Kill Zone") && !IsKilled)
if (other.gameObject.CompareTag("Kill Zone") && !IsKilled && !win)
{

IsKilled = true;
@@ -396,7 +396,8 @@ void EnterCar(Collider other, bool first)
}
//car.GetComponent<NavMeshAgent>().enabled = false;

car.transform.rotation = player.transform.rotation;
car.transform.rotation = PlayerMesh.transform.rotation;
car.transform.eulerAngles = new Vector3(0, car.transform.eulerAngles.y, 0);
car.transform.eulerAngles = new Vector3(car.transform.eulerAngles.x * 0, car.transform.eulerAngles.y, car.transform.eulerAngles.z);

thePlayer.EnterVehicleCleanUp();
@@ -18,7 +18,8 @@ void Start()
// Update is called once per frame
void Update()
{
timeRemaining = startTime > 0 ? startTime - Time.timeSinceLevelLoad : 0;
if( !GameObject.FindGameObjectWithTag("Player").GetComponent<playerController>().win)
timeRemaining = startTime >= 0 ? startTime + Time.timeSinceLevelLoad : 0;
int minutes = (int)timeRemaining / 60;
int seconds = (int)timeRemaining % 60;

BIN +0 Bytes (100%) obj/Debug/Assembly-CSharp.dll
Binary file not shown.
BIN +0 Bytes (100%) obj/Debug/Assembly-CSharp.pdb
Binary file not shown.