cara menetapkan materi fisika 2D melalui skrip
public PhysicsMaterial2D mat;
GetComponent<Collider2D>().sharedMaterial = mat; // Sets material to mat
Crowded Chicken
public PhysicsMaterial2D mat;
GetComponent<Collider2D>().sharedMaterial = mat; // Sets material to mat