Unity Physics :

Rigidbody:

Rigidbody for 2d objects.
Rigidbody for 3d objects.

Colliders:

There are also 2 types of colliders for 2d and 3d. we can use them as we need them depending upon our project is in 2d or 3d.

BoxCollider for 2d with objects box shape.

Triggers:

We can choose between 2 options to detect collision between objects. In Trigger collision, object can pass through the colliders boundary but at the same time it will trigger the collision event. which inform us that collision happens.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store