- Home /
Does 2D dynamic friction exist natively in Unity?
Answer by Owen-Reynolds · Feb 10, 2014 at 05:13 PM
I don't see why not. 3D uses "PhysicsMaterials" to implement static&dynamic friction. They work fine. Collider2D also has a slot for a PhyMat . But I've never used the 2D engine, so can't confirm that it works there.
Unfortunately the Physics2D materials appear to be much simpler -- only having a single variable named "friction". From what I can deduce from a simple enough example, a circle-collider/rigidbody rolling along a floor with the "friction" variable set to even something ludicrously high doesn't slow down.
Well, in the 3D system, balls aren't much affected by friction -- you need a cube or something with a flat surface. I think that may even somewhat real world correct.
Unity friction can simulate up to sandpaper, but not really mud or deep-pile carpet -- something which almost grabs you.
Your answer
Follow this Question
Related Questions
Physics Material Returning Wrong Friction Value 0 Answers
2D 360 degress platformer example needed 0 Answers
Delaying Physics Calculations (Friction) 1 Answer
Best wheel collider values (forward friction,sidewards friction) for racing cars ? 1 Answer
Wheel has no friction on mesh collider of another GameObject. 0 Answers