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.
  2. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

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:
    80
    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: