Companies Home Search Profile

Unity Tips: Position, Rotation, Scale

Focused View

Stepan Diadorov

2:26:32

3 View
  • 1. Welcome to the course!.mp4
    00:50
  • 2. What should you know before starting the course.mp4
    00:57
  • 3. Dont hesitate to ask!.mp4
    00:39
  • 4.1 GitHub Repository.html
  • 4. How to use the repository.mp4
    01:40
  • 1. Intro.mp4
    00:35
  • 2. Teleportation and Respawn - instant movement to the target.mp4
    05:56
  • 3. Conveyor line - constant movement in one direction with vector addition.mp4
    06:04
  • 4. Visualizing the direction by using the Debug.DrawLine.mp4
    03:02
  • 5. Slowing down the conveyor - multiplying a vector by a scalar and Time.deltaTime.mp4
    03:09
  • 6. Moving poker cards - Vector3.MoveTowards.mp4
    04:05
  • 7. Delivering all cards simultaneously - Vector3.Lerp method.mp4
    05:10
  • 8. 2D Player Controller - reading the players input.mp4
    05:05
  • 9. Fixing straferunning - normalizing a vector.mp4
    02:24
  • 10. Moving in a 2D Side-scroller - Set object velocity.mp4
    04:30
  • 11. Jumping in a 2D Side-scroller - velocity vector addition.mp4
    01:48
  • 12. Moving a platform - Mathf.PingPong and Mathf.Repeat.mp4
    01:45
  • 13. Moving a platform using the animation.mp4
    02:40
  • 14. Moving a player on a platform - transform.parent, transform.DetachChildren.mp4
    03:26
  • 15. Calculating explosive damage based on the distance - subtracting vectors.mp4
    06:37
  • 16. Creating a radar system - localPosition, TransformPoint.mp4
    06:49
  • 17. Force a monster to look away - vector dot product.mp4
    05:15
  • 18. Should a monster turn left or right - vector cross product.mp4
    04:09
  • 19. Position.html
  • 1. Intro.mp4
    00:21
  • 2. Rotating the 2D player controller by a certain angle - Transform.Rotate.mp4
    03:45
  • 3. 3D Character Controller - Transform.EulerAngles.mp4
    03:44
  • 4. Creating a camera that tracks the players movement - transform.LookAt.mp4
    01:25
  • 5. Creating a moving star circle array - Transform.RotateAround.mp4
    04:23
  • 6. Quaternion basics, rotation around a single axis. Quaternion.Euler.mp4
    04:53
  • 7. Rotating around 2 axes..mp4
    03:59
  • 8. 3D Spaceship - Quaternion.AngleAxis.mp4
    02:08
  • 9. 3D Character Controller using Quaternions - transform.TransformDirection.mp4
    03:58
  • 10. Aiming a 3D turret - Quaternion.LookRotation and Quaternion.RotateTowards.mp4
    02:02
  • 11. Rotating a turret in 2D - Quaternion.FromToRotation.mp4
    03:20
  • 12. Modern 2D controller - Input.mousePosition and Input.touch.mp4
    04:41
  • 13. Shooting a bullet - lets recap everything!.mp4
    01:49
  • 14. Moving a Sun - Lerp, Slerp and SlerpUnclamped.mp4
    01:55
  • 15. Creating your own quaternion - always Normalize the quaternion!.mp4
    01:20
  • 16. Stand still to rotate a key - Quaternion.Inverse.mp4
    02:35
  • 17.1 The Unity forum with the Rotation Count script.html
  • 17. Lockpicking a safe - Quaternion.Dot and Quaternion.Angle.mp4
    05:03
  • 18. Rotation.html
  • 1. Intro.mp4
    00:22
  • 2. Make Alice grow or shrink - Scaling basics.mp4
    04:36
  • 3. Moving shrinked Alice - scale-dependent methods.mp4
    03:39
  • 4. Switching 2D player direction - Scale or rotate.mp4
    02:34
  • 5. Making a platform bigger - Scaling the parent object.mp4
    02:48
  • 6. Slo-mo and Pause menu - Time.timeScale.mp4
    03:16
  • 7. Scale.html
  • 1. Outro.mp4
    00:25
  • 2. BONUS LECTURE.mp4
    00:56
  • 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?


  • 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
  • What You Need to Know?


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


    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

    User Reviews
    Rating
    0
    0
    0
    0
    0
    average 0
    Total votes0
    Focused display
    Category
    Stepan Diadorov
    Stepan Diadorov
    Instructor's Courses
    After I finished the Belarusian State University of Informatics and Radioelectronics in 2011, I've entered the IT world as a functional testing engineer. I've worked in several companies, learned Python, Java and C#, and changed my title to Test Automation Engineer. Video games have always been an important part of my life. One day, I've finally realized I have all resources and experience to create games. Ever since, I slowly absorb every aspect of the Unity game engine, creating games in my spare-time. I've encountered many impediments and spent dozens of hours debugging my code. Now I'm eager to share my knowledge, hoping my effort might help someone else.
    Students take courses primarily to improve job-related skills.Some courses generate credit toward technical certification. Udemy has made a special effort to attract corporate trainers seeking to create coursework for employees of their company.
    • language english
    • Training sessions 47
    • duration 2:26:32
    • Release Date 2024/03/13