Unity for Absolute Beginners Lesson 2 - Rotate object with code
Channel:
Subscribers:
64,099
Published on ● Video Link: https://www.youtube.com/watch?v=FyLwpwdavW0
In this lesson we create our first script where we get input from the user using Input.GetAxis which is represented by a number between -1 and 1. We then store this number in a variable and rotate the plane using transform.Rotate.
Other Videos By Magic Monk
Tags:
unity game development
unity input key
unity variables
unity rotate object