float drehen;
Vector3 Richtung = new Vector3(0f,0f,1f);
// Use this for initialization
void Start () {
drehen = 1;
Richtung = Vector3.left;
}
// Update is called once per frame
void Update () {
transform.Translate (0.1f*Vector3.left*Time.deltaTime);
}
hi there
This is the beginn of a script to controll the movement of my robot. But I have a problem. transform.Translate doesn’t move it at all. What did i wrong? Could anyone help me please?