Hello, im trying to rotate a kite, this image will be more clear
Im using this code
#pragma strict
var turnspeed : float = 5.0;
var kite: GameObject;
function Start () {
}
function Update () {
}
function TurnRight (){
kite.transform.Rotate(Vector3.right, turnspeed * Time.deltaTime);
}
function TurnLeft (){
kite.transform.Rotate(Vector3.left, turnspeed * Time.deltaTime);
}
But the Kite its translating, and not rotating !
Plz Help