Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Particles with identical triangle index spawn at different positions on skinned mesh

Discussion in 'Visual Effect Graph' started by skowronski_m, Jun 21, 2022.

  1. skowronski_m


    Oct 5, 2021
    Hi all,

    I ran into this super weird behavior of the VFX graph when trying to place particles on a skinned mesh using triangle indices and barycentric coordinates.

    When I instantiate a particle with a single burst at a specific triangle index, the particles lies on the mesh. But when I instantiate the particle using an event, then the particle (or the underlying mesh) is strangely rotated. Here is the output and the two identical VFXs that produce this output.

    Any help would be much appreciated, thanks!