Remove car flip

This commit is contained in:
in0finite 2019-05-23 01:23:59 +02:00
parent 10b5e541bc
commit 6ba73af243

View file

@ -407,15 +407,6 @@ namespace SanAndreasUnity.Behaviours.Vehicles
if (HasDriverSeat)
{
if(Input.GetKeyDown(KeyCode.F))
{
if(Vector3.Dot(transform.up, Vector3.down) > 0)
{
transform.position += Vector3.up * 1.5f;
transform.rotation = Quaternion.Euler(transform.eulerAngles.x, transform.eulerAngles.y, 0);
}
}
if (Input.GetKeyDown(KeyCode.L))
{
m_frontLeftLightPowered = !m_frontLeftLight;