Search Unity

Question Particle orientation based on mesh

Discussion in 'General Graphics' started by MirekDusinojc, May 8, 2023.

  1. MirekDusinojc

    MirekDusinojc

    Joined:
    Jun 22, 2016
    Posts:
    3
    Hello, I have an issue I am trying to resolve. When emitting particles from the mesh with Align To Direction setting under the shape the particles have different rotation in Z and I was wondering if it would be possible to influence it. Basically I have this mesh ring and want the particles to render parallel with the mesh but also the particle texture to be shown in the correct direction. As you can see on the attached image this is happening only for the particles on the front, which are rendering correctly. But as the particles get further from the front, they start to rotate in the Z direction until they are flipped 180 degrees (the raindrops being upside down). I was thinking this might be an issue because of normals, but I don't think normals store any sense of Z direction.
    particle_orientation_mesh.gif