I setup small scene with some blocks and spheres. i added Rigidbody component to spheres. if we do not add Rigidbody then sphere will pass through the blocks without stopping and without any collision.

We will see how to use triggers in collision,

--

--

variable are like containers that hold or store given values in memory.

In real life we store the location of houses, shops in our minds, name of a person, etc.. variables work also like this we use variables in programming to store the value of different data types.

Variable are essential to store the value.

In C#, there are types of data types like bellow,

--

--