Quantcast
Channel: Answers by "hema"
Viewing all articles
Browse latest Browse all 4

Answer by hema

$
0
0
Have found a way using Quaternion.Euler. Below is the code: m_Rotation += 1.0f; transform.rotation = Quaternion.Euler(new Vector3(0,0,-m_Rotation * m_Speed)); if(m_Rotation == 360) { m_Rotation = 0; } if(m_Rotation 60 && m_Rotation

Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images