unity colllion not working

Code Example - unity colllion not working

                
                        Just add a rigidbody to the object and make the gravity scale to zero