Made Material struct, added setMass in PhysObject