Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Unity Tips: Position, Rotation, Scale
Rating: 4.6 out of 5(11 ratings)
93 students

Unity Tips: Position, Rotation, Scale

Learn Unity API and Math behind the movement, rotation and scale, one task per lecture!
Created byStepan Diadorov
Last updated 8/2019
English

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

Course content

5 sections47 lectures2h 26m total length
  • Welcome to the course!0:50

    Explore movement, rotation, and scaling of objects in Unity, with data like vectors and quaternions, and tackle practical problems through guided explanations and hands-on solutions.

  • What should you know before starting the course0:57

    Know that this Unity beginners course requires basic Unity and C# knowledge, including C# syntax, outlines prerequisites such as hierarchy, prefabs, and the update method, and invites help when needed.

  • Don't hesitate to ask!0:39

    Ask questions when something remains unclear in Unity tips: position, rotation, scale. Remember that questions and mistakes indicate progress; post in discussions or message the instructor.

  • How to use the repository1:40

    Access course materials on the GitHub page, download assets or clone the repository, and freely use lecture code in your games to explore position, rotation, and scale in scenes.

Requirements

  • Basic knowledge of Unity interface
  • Some experience with C#

Description

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