Material({ this.friction = -1, this.restitution = -1, this.name = '' }) { id = Material.idCounter++; }