Unity 2019 3D Game Physics

Video description

Learn and apply 2D and 3D game physics with Unity 2019

About This Video

  • A complete introduction to the power of game physics for Unity 2019
  • Deep dive into the components and the C# programming for both 2D and 3D physics
  • Practical tips based on the author’s 19 years of experience shipping successful game titles

In Detail

Physics is really important for game programmers who want to add realism and functionality to their games. Collision detection, in particular, is a problem that affects all game developers, regardless of the platform, engine, or toolkit they use. This course will help you to understand game physics better. You will practice creating your own physics components and improve your knowledge of Newton's Laws of Motion and their applications to game development. This course will teach you the concepts and formulas behind collision detection. You will also be taught how to build a simple physics engine, where rigid body physics is the main focus, and learn about intersection algorithms for primitive shapes. You will be implementing 2D and 3D primitives, and we'll show you how to perform effective collision tests and cover one of the harder areas of game development—collision detection and resolution. Further on, you will learn what a physics engine is, how to set up a game window, and how to implement rendering. You’ll also find out how to implement a rudimentary physics engine, which you can use to build an "Angry Birds" type of game or a more advanced game. By the end of this course, you will have gained confidence in translating theories of physics into working game code. You will have implemented all primitive and some advanced collision tests, and you will be able to read on geometry and linear Algebra formulas to take forward to your own games!

Publisher resources

Download Example Code

Table of contents

  1. Chapter 1 : An Introduction to Game Physics for Unity 2019
    1. Course Overview 00:03:45
    2. Integration, Collision Detection, and Collision Resolution 00:04:42
    3. Unity’s Physics System (Past, Present, and Future) 00:04:39
    4. Unity’s Physics Project Settings 00:05:58
    5. Physics Lifecycle, Physics.Simulate(), and Time Dilation 00:05:31
  2. Chapter 2 : Unity 2D Physics Components
    1. The Rigidbody2D Component 00:04:30
    2. The Collider2D Component 00:04:09
    3. 2D Effectors 00:05:40
    4. 2D Joints 00:05:44
    5. Physics for Unity Sprite Shape (Preview Feature) 00:04:08
  3. Chapter 3 : Unity 3D Physics Components
    1. Recap of Rigidbody and Collider for 3D 00:03:33
    2. The Physics Material Asset 00:03:54
    3. 3D Joints 00:06:35
    4. Ragdoll Physics 00:07:18
    5. Terrain Physics 00:04:50
  4. Chapter 4 : Unity C# Physics Programming
    1. OnCollision Events and the Collision Object 00:05:06
    2. OnTrigger Events and the Collider Object 00:03:12
    3. Adding Programmatic Forces 00:05:28
    4. isSleeping, isKinematic, useGravity, and Velocity 00:07:30
    5. Physics.Raycast() and RaycastCommand ScheduleBatch() 00:06:20
    6. Physics Debugging: Debug.DrawRay(), Physics Debugger Window and Profiler Window 00:07:10
  5. Chapter 5 : Project: Creating an Angry Birds Clone 2D Game
    1. 2D Project Setup 00:07:13
    2. Creating the Player and Input 00:07:07
    3. Creating the Obstacles 00:06:53
    4. Adding Win/Loss Conditions 00:06:12
    5. Adding Extra Polish 00:04:35
  6. Chapter 6 : Project: Creating a Marble Madness Clone 3D Game
    1. 3D Project Setup 00:04:45
    2. Creating the Player and Input 00:04:36
    3. Creating the Obstacles 00:05:34
    4. Adding Win/Loss Conditions 00:04:16
    5. Adding Extra Polish 00:05:25
  7. Chapter 7 : Advanced Topics
    1. Best Practices with Physics 00:04:37
    2. Optimizing Physics 00:09:14
    3. Predicting Physics Trajectory 00:05:37
    4. Data-Oriented Technology Stack (DOTS) for Unity Physics 00:06:31

Product information

  • Title: Unity 2019 3D Game Physics
  • Author(s): Samuel Rivello
  • Release date: September 2019
  • Publisher(s): Packt Publishing
  • ISBN: 9781838552053