Unity Tips: Position, Rotation, Scale
Stepan Diadorov
2:26:32
Description
Learn Unity API and Math behind the movement, rotation and scale, one task per lecture!
What You'll Learn?
- Vector math such as vector addition, substraction, dot and cross products, normalization and magnitute
- Use Quaternions and Euler Angles to rotate gameobjects
- Explore Unity API to reduce the amount of work you need to do in your code
- Build a base structure for games like a side-scroller, 3d shooter, a 2d top-down shooter and more
Who is this for?
What You Need to Know?
More details
DescriptionThe main goal of this course, as its name suggests, is to teach you how to perform movement, rotation and scaling of Unity gameobjects.
In the Position section, we will start with the vector math basics. Each lecture represents a task that you could try to do yourself after I give you some theory and code examples. Weâll cover most if not all the ways you can move an object or calculate its position:
By using transform methods
By using Matf and Vector methods
By applying velocity to the rigidbody
By using animation
Weâll cover vector operations such as addition, subtraction, scalar multiplication, dot and cross products and normalization, and try them out in real game development tasks you might face.
Next, weâll take a look how to use Euler Angles and Quaternions in order to Rotate your gameobjects. Iâll show you pros and cons of each approach and, of course, provide you with some challenging tasks to solidify your new knowledge.
Finally, you will work with the Scale. In this rather small section you will learn how to change the object size to achieve your goals such as a sprite flip or modifying the parent object without affecting the children. We'll also take a look on how to scale the 4-th dimension - the time itself.
In this course, you will also learn how to get input from different sources such as keyboard, mouse and touchscreen, take a look at raycasting, rigidbody, and a lot of other cool stuff that you can use during the game development. And of course you can freely experiment with the code I provide with my repository.
Who this course is for:
- C# developers who just started learning Unity and need to learn Unity API to move, rotate and scale objects
- Unity beginners who don't feel comfortable enough with the vector and quaternion math
The main goal of this course, as its name suggests, is to teach you how to perform movement, rotation and scaling of Unity gameobjects.
In the Position section, we will start with the vector math basics. Each lecture represents a task that you could try to do yourself after I give you some theory and code examples. Weâll cover most if not all the ways you can move an object or calculate its position:
By using transform methods
By using Matf and Vector methods
By applying velocity to the rigidbody
By using animation
Weâll cover vector operations such as addition, subtraction, scalar multiplication, dot and cross products and normalization, and try them out in real game development tasks you might face.
Next, weâll take a look how to use Euler Angles and Quaternions in order to Rotate your gameobjects. Iâll show you pros and cons of each approach and, of course, provide you with some challenging tasks to solidify your new knowledge.
Finally, you will work with the Scale. In this rather small section you will learn how to change the object size to achieve your goals such as a sprite flip or modifying the parent object without affecting the children. We'll also take a look on how to scale the 4-th dimension - the time itself.
In this course, you will also learn how to get input from different sources such as keyboard, mouse and touchscreen, take a look at raycasting, rigidbody, and a lot of other cool stuff that you can use during the game development. And of course you can freely experiment with the code I provide with my repository.
Who this course is for:
- C# developers who just started learning Unity and need to learn Unity API to move, rotate and scale objects
- Unity beginners who don't feel comfortable enough with the vector and quaternion math
User Reviews
Rating
Stepan Diadorov
Instructor's Courses
Udemy
View courses Udemy- language english
- Training sessions 47
- duration 2:26:32
- Release Date 2024/03/13