Search Unity

Vfx Rotate with HMD in VR

Discussion in 'Visual Effect Graph' started by DajStudio, Apr 6, 2020.

  1. DajStudio

    DajStudio

    Joined:
    Feb 19, 2016
    Posts:
    7
    Hello.

    I'm testing visual effect graph on oculus quest with urp.
    I tried many versions from 2019.2 to 2020.1.b4 and everywhere standard vfx's particles rotating with hmd.

    Please, help.
     
  2. VladVNeykov

    VladVNeykov

    Unity Technologies

    Joined:
    Sep 16, 2016
    Posts:
    550
    Hi @DajStudio ,

    You can import the Visual Effects Additions package from within the package manager:
    upload_2020-4-13_16-37-27.png

    One of the examples included is a Orient - VR Camera Facing block subgraph, which you can add to your outputs so the particles will not roll trying to face the hmd:
    upload_2020-4-13_16-39-13.png

    There are certain limitations to this technique, but it should work for most scenarios.
    Hope this helps!
     

    Attached Files:

    ssojyeti2 and danilofaugusto like this.
  3. DajStudio

    DajStudio

    Joined:
    Feb 19, 2016
    Posts:
    7
    VladVNeykov likes this.