Esempio n. 1
0
        // Constructor
        public RFParticleCollisionDebris()
        {
            collidesWith = RFParticleCollisionWithType.Everything;
            quality      = ParticleSystemCollisionQuality.High;
            radiusScale  = 0.1f;

            dampenType = RFParticleCollisionMatType.ByProperties;
            dampenMin  = 0.1f;
            dampenMax  = 0.4f;

            bounceType = RFParticleCollisionMatType.ByProperties;
            bounceMin  = 0.2f;
            bounceMax  = 0.4f;
        }
Esempio n. 2
0
        // Copy from
        public void CopyFrom(RFParticleCollisionDebris source)
        {
            collidesWith = source.collidesWith;
            quality      = source.quality;
            radiusScale  = source.radiusScale;

            dampenType = source.dampenType;
            dampenMin  = source.dampenMin;
            dampenMax  = source.dampenMax;

            bounceType = source.bounceType;
            bounceMin  = source.bounceMin;
            bounceMax  = source.bounceMax;

            propertiesSet = source.propertiesSet;
        }