map 2 added
This commit is contained in:
@@ -70,7 +70,5 @@ public class TankMovement : MonoBehaviour
|
||||
float turn = m_TurnInputValue * m_TurnSpeed * Time.deltaTime;
|
||||
Quaternion turnRotation = Quaternion.Euler(0f, turn, 0f);
|
||||
m_Rigidbody.MoveRotation(m_Rigidbody.rotation * turnRotation);
|
||||
//transform.rotation = Quaternion.Euler(0f, turn * m_TurnSpeed, 0f);
|
||||
//transform.Rotate(0f, turn * m_TurnSpeed, 0f);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user