in the example of the startrooper i could see how the slider on the right (for iphone) can control the value of the translation of the the null called speed.
i want to create a script that i can drag on other objects than will control the rotation of the object.
var newobject; transform;
function update ()
{
var y = the value of the position of y of the object newobject
transform.Rotate (0, y, 0);
}
thanks for helping me