Advertisement
ElectricJesus

QuaternionTest

Nov 17th, 2016
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.17 KB | None | 0 0
  1. public class QuaternionTest : MonoBehaviour {
  2.  
  3.     void Update () {
  4.         transform.rotation = transform.rotation * Quaternion.AngleAxis(60f * Time.deltaTime, transform.up);
  5.     }
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement