Topic: Flip Particles (Code inside)

//Modified to flip particles

       if (mirror == 1){

          Vector3 newRotation = pTemp.transform.eulerAngles;

                   

          newRotation.y *= -1;

          pTemp.transform.eulerAngles = newRotation;

       }


This code goes in the controls script around line 660 in the FOREACH loop regarding particles.

Share

Thumbs up Thumbs down