- Home /
Cant apply physics material.
So currently I am making a simple 2D game and when I move the player around he gets stuck to the walls. I saw somewhere that the solution was to add physics materials. So a I created one but somehow I cant add it to the collider, Because when I hover over the field Material on the Collider component, I just see a prohibited sign, that doest let me add it
Are you sure you created the right kind of material? 2D colliders need a 2D physic material.
well but there is no option to create a 2d physics material my friend
oh wait found it. THAN$$anonymous$$ YOU SO $$anonymous$$UCH
Answer by jardle1 · Jun 16, 2021 at 04:14 PM
Since you're making a 2D game, make sure you're using "Physics Material 2D". This is found under Assets > Create > 2D > Physics Material 2D.