- Home /
Particles: circle align to direction makes rotation y axis unusable?
hey everyone
I am working on a 2D and I want a a circle shapes particle emitter to fire triangles outward with their peaks pointing away from the circle. So far I have been unable to achieve this with the standard particle system at all. The obvious way (for me) would be to set the emitter shape to circle and activate align to direction, this basically rotates the particles the right way but turned 90° in the wrong direction so they are entirely hidden in 2D. Of course next step would be to add a start rotate offset, the only problem is the rotation that you would need is on the y axis and that rotation is screwed with align to direction and rotates the particles in all directions. idk if this is really broken or a limitation but it doesn't work.
another approach could be no shape at all, use pivot offset in the renderer and use rotation over lifetime, then the triangles start in a circle, always face outwards, but I can not get a force to move them away from the center.
The only solution I see is a custom behaviour which always rotates them away from the center and a circle shape, but I feel like I am missing something here, this should be possible... right?
This but moving outwards
Answer by fleity · Jul 03, 2019 at 09:30 AM
I found what I was looking for, instead of using align to direction with regular billboard use stretched billboard and it just works -.-
Answer by richardkettlewell · Jul 02, 2019 at 08:02 PM
When setting the start rotation, check 3D start rotation. Then you can find the correct axis to get the result you’re looking for.
Answer by fleity · Jul 03, 2019 at 06:26 AM
Thanks @richardkettlewell for your reply but that is already what I did. Having 3D start rotation checked and rotating on y rotates on an axis which is relative to the circle emitter shape and not aligned the right way. This y axis seems not influenced correctly by the align to direction toggle. Half of the particles rotate backwards, the other forwards and it interpolates over the circle. It's a mess, here I made a video to illustrate the problem better. https://drive.google.com/file/d/1yISZ0dTbwSQEmSjfXY8G-TU8IL1YWilK/view?usp=sharing
Your answer
Follow this Question
Related Questions
Emit Random Particles? 2 Answers
Unity 2D Particle System Interaction. 0 Answers
Glowing Particle 3 Answers
Finding Particle Information Upon Collision 2 Answers
Particle System not working. 1 Answer