Pages 1
Universal Fighting Engine Forum We are no longer using the forum to answer questions due to bot attacks. Please use our discord instead: https://discord.gg/hGMZhF7 |
You are not logged in. Please login or register.
Universal Fighting Engine Forum → Source Coding → "Mirror on Right Side" does not work for Particle Effect (Moves)
Will look into this for the next update.
Sorry I didn't reply to this earlier.
The mirror option is only designed to rotate the particle prefab 180 degrees on the other direction. It has no control over particles and other effects spawning from the prefab.
This is what it does under the hood:
particle.transform.localEulerAngles = new Vector3(particle.transform.localEulerAngles.x, particle.transform.localEulerAngles.y + 180, particle.transform.localEulerAngles.z);
@Mistermind
Thanks for the reply. The code in this form addressed the issue and it works great.
Universal Fighting Engine Forum → Source Coding → "Mirror on Right Side" does not work for Particle Effect (Moves)
Powered by PunBB, supported by Informer Technologies, Inc.