I have an object and I would like to change the dynamic friction property of the Physic Material
I tried to use
pm = GetComponent ();
pm.dynamicFriction = frictionFlat;
friction Flat is
private float frictionFlat = 0.2f;
unity keeps telling me:
MissingComponentException: there is no ‘Physic Material’ attached to the “Player” game object.
when I inspect player(my player game object) in unity, under CapsuleCollider I do have a Material set that is called “SlidePhysics”