void Start()
    {
        standard = GameObject.Find ("StandardObject");
        sob = standard.GetComponent<StandardObject> ();
        relativeScaling = sob.getStandardScaling();
        currentVolume = VolumeCalculator.getScaledVolume (gameObject, type, relativeScaling);

        rend = this.GetComponent<Renderer> ();
        baseMat = rend.material;
        dh = transform.parent.GetComponent<DestructiblesHandler> ();
        startTime = Time.time;
        changeMatbool = false;

        rb = GetComponent<Rigidbody> ();
        setMass ();
        shrinkSpeed *= transform.lossyScale.magnitude;

        dimensions = new float[4]{0,0,0,0};
        setDimensions ();
    }
    void Start()
    {
        standard = GameObject.Find ("StandardObject");
        sob = standard.GetComponent<StandardObject> ();

        relativeScaling = sob.getStandardScaling();
        psfx = gameObject.GetComponent<PlayerSoundFX> ();
        pg = particleGenObj.GetComponent<ParticleGenerator> ();
        peh = primEventObj.GetComponent<PrimaryEventHandler> ();
        GameObject pgdg = GameObject.Find (preservedDataName);
        if (pgdg == null) {
            pgd = null;
        } else {
            pgd = pgdg.GetComponent<PreservedGameData> ();
        }
        if (pgd != null && pgd.getSavedVolume () >= 0) {
            currentVolume = pgd.getSavedVolume ();
        } else {
            currentVolume = VolumeCalculator.newGetVolume(this.gameObject, this.type);
        }
        updateScale(false);
    }