Search Unity

Why my VFX graph changes velocity (X axis) depending on a player orienatation?

Discussion in 'Visual Effect Graph' started by masta-yoda, Oct 13, 2020.

  1. masta-yoda

    masta-yoda

    Joined:
    Apr 19, 2020
    Posts:
    91
    I'm working on kind of frame-thrower weapon and while the VFX graph itself is pretty straightforward, it has some unpleasant glitch, increasing particles spread over X-Axis when I rotate my player's hand (change orientation)

    This is what I want to achieve (single beam, low spread), and it works like that in certain player's orientations:
    vlcsnap-2020-10-13-15h41m43s459.png

    And that's what I get (single beam spread over X-Axis) when I turn to another specific orientation:
    vlcsnap-2020-10-13-15h41m32s964.png

    The VFX graph. Set velocity random is there but it's very low, and the issue is still there even if that node has zero velocities across X and Y axes:
    shot_201013_154522.png


    The video on how it looks in dynamic: