- Home /
Question by
varbergen · Aug 07, 2018 at 04:56 PM ·
3rd person controllermovements
Make a 90 degree turn while running
I'm making a game like temple run, and can't figure out how to make 90 degree turn both left and right while running. I'm using this basic run forward script:
public float speed = 1f;
void Update()
{
transform.Translate(Vector3.forward * Time.deltaTime * speed);
}
}
And trying to use playmaker iTween rotate to to change directions, but nothing happens, Ive tried others rotate from playmaker and managed to make a turn, but stopped running forward. Needless to say my skills are beginner level.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612172401im_/https://answers.unity.com/themes/thub/images/avi.jpg)