Day 11: Introduction to Physics in Unity

Tyler Smallwood
2 min readMay 3, 2021

Physics is the way we interact with the world, with out it we may just clip though everything!

Games are no different. No one would enjoy a game where you just float though walls and the floor and not able to interact with anything.

Unity has a system that allows us to interact with different game objects. In Unity, if you want an object to interact like a wall, we will need to give that object a collider. There are multiple different colliders depending on the shape of the object you need. But for each type of collider there will be a 3D and 2D version.

3D Box collider
2D Box collider

These will be what each object interacts with. But the physics system wont allow for interaction if no object has a rigidbody. At least one object will need a Rigidbody to allow the physics system to work. Rigidbody has a 3D and 2D version as well.

2D Rigidbody
3D Rigidbody

These are the basic components of the physic system that Unity provides. For the objects to interact with each other there will need to be a collider and at least one of the objects will need a rigidbody as well.

--

--

Tyler Smallwood

I am passonate on learning to program and use Unity to become a skillful Unity Developer