void Update () {
if (Input.GetKey(KeyCode.Q))
{
transform.Rotate(0f,-100*Time.deltaTime*5,0f,Space.Self);
}
if (Input.GetKey(KeyCode.W))
{
transform.Rotate(0f, 100 * Time.deltaTime*5, 0f, Space.Self);
}
if (Input.GetKey(KeyCode.E))
{
transform.Rotate(-100 * Time.deltaTime*5,0f, 0f, Space.Self);
}
if (Input.GetKey(KeyCode.R))
{
transform.Rotate(100 * Time.deltaTime*5, 0f, 0f, Space.Self);
}
if (Input.GetKey(KeyCode.A))
{
transform.Rotate(0,0,-100*Time.deltaTime*5);
}
if (Input.GetKey(KeyCode.S))
{
transform.Rotate(0f, 0f, 100 * Time.deltaTime*5, Space.Self);
}
}