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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Make facing camera orientation slower?

Discussion in 'Visual Effect Graph' started by WesselFreriks, May 9, 2020.

  1. WesselFreriks

    WesselFreriks

    Joined:
    May 29, 2019
    Posts:
    3
    Hello! Is there a way to make the orientation face camera slower? I'm doing this in order to prevent this "rolling" effect whenever I look at particles that are above the player. Any other solutions for this are also welcome, of course!

    Here's a gif of the issue: https://imgur.com/v4GACjv

    edit: I've been looking around and I have noticed the Shuriken system has a "allow roll" option that can be toggled. I guess I'm looking for the VFX Graph equivalent?
     
    Last edited: May 10, 2020
  2. JulienF_Unity

    JulienF_Unity

    Unity Technologies

    Joined:
    Dec 17, 2015
    Posts:
    307
    You can use the advanced mode of orient to achieve what you want.

    Here for instance, particle will be looking at point (0,0,0) (but can be anything like game camera position or player) and their up will try to orient towards world up
    upload_2020-5-11_13-26-37.png

    For the 'no roll", we dont have it built in at the moment, but you can also use the advanced mode to achieve what you want. Basically adding a second orient block in advanced mode, reusing the axisZ (facing current camera) from the previous and forcing axisY to be world up

    upload_2020-5-11_13-34-31.png
     
    Arnold_2013 and WesselFreriks like this.
  3. WesselFreriks

    WesselFreriks

    Joined:
    May 29, 2019
    Posts:
    3
    I searched endlessly for a solution, but the second one is exactly what I was looking for. Thank you so much!