public MaterialAttributes(string t, float d, float f, float r) { type = t; density = d; friction = f; restitution = r; }