Search Unity

Question Orbital velocity in VFX Graph?

Discussion in 'Visual Effect Graph' started by Happy_Face, Jul 22, 2020.

  1. Happy_Face

    Happy_Face

    Joined:
    Jul 18, 2017
    Posts:
    3
    upload_2020-7-22_19-38-24.png

    Well this does move the particle in a circular orbit, but they're moving away bit by bit over time, which ends up like a ripple-like spiral. The result I'm looking for is a perfect round orbit. Is there a way to make it?

    upload_2020-7-22_19-43-12.png
     
  2. VladVNeykov

    VladVNeykov

    Unity Technologies

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

    You can use the Rotate2D or Rotate3D nodes to do something like this:

    * Please note that the angle is in radians.

    The result would be something like this:


    Hope this helps!
     

    Attached Files:

    nickhubben, Igrushko, ATate and 6 others like this.
  3. andybak

    andybak

    Joined:
    Jan 14, 2017
    Posts:
    569
    Back when the forum gods thought all VFX graph questions were best organised via a single 2 trillion page mega-thread there was some discussion of orbital velocity. You can probably find it via search.
     
    PutridEx likes this.