- Home /
Particle System, Texture Sheet Animation and rotarion
Hi everybody,
I'm trying to figure out how to rotate a particle system in the z-axis but I can't find any post talking about it so I think I'm doing something wrong maybe...
My game is a 2D top-down RPG and I need to play a "hit" effect every time my character does a melee attack. For this, I'm using a particle system with a Texture Sheet Animation and it works very well but since my character can attack in four different directions (up, right, down and left) I would need to rotate the particle system to match this direction but I can't get it working.
Here's a gif example of my particle system facing right direction: http://i.imgur.com/WJB8AYB.gif
Do you know a way to rotate it along the z axis and face the direction of the attack of the character? Is this possible?
Your answer
![](https://koobas.hobune.stream/wayback/20220612034048im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to get Raycast surface normal to align particle system? 1 Answer
Particles wont stop rotating after collision 5 Answers
Particle system rotation/spread not working 1 Answer
Randomize shape.rotation for a particle emitter shape, sub emitter instance 1 Answer
Flip over an object (smooth transition) 3 Answers