Fixes
This commit is contained in:
@@ -63,6 +63,9 @@ public class PlayerController : MonoBehaviour
|
||||
if (collision.gameObject.tag == "platform")
|
||||
{
|
||||
this.gameObject.transform.rotation = collision.gameObject.transform.rotation;
|
||||
Physics.gravity = (collision.gameObject.transform.rotation * Vector3.forward);
|
||||
Debug.Log(Physics.gravity);
|
||||
//Physics.gravity = -Physics.gravity;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -38,6 +38,6 @@ public class PostProcessingController : MonoBehaviour
|
||||
emmisionStep++;
|
||||
|
||||
renderer.material.SetColor("_EmissionColor", color);
|
||||
Debug.Log(color);
|
||||
//Debug.Log(color);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user