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

Need advice on different ways of meshes interacting with VFX graph

Discussion in 'Graphics Experimental Previews' started by JackDDeane, Jun 28, 2019.

  1. JackDDeane

    JackDDeane

    Joined:
    Aug 6, 2018
    Posts:
    26
    I have been experimenting with ways to make particles interact with 3D objects, such as in one of Unity's sample scenes where it flows through their logo, that was using a vector field. I've been trying to create a satisfactory vector field with not so great results using the 'Vector File Pro' package from the store.

    In order to convert I have to first draw a curve around the object and then duplicate a load of small boxes on that curve, since each separate vector is create from the object z forwards axis, then input it into vector field pro:



    And this is the result when plugged into a VFX graph:



    Not exactly great eh? So I would like to give signed distance fields a try, but it seems like a more complicated process, especially for a lowly artist such as myself who doesn't know much in the way of coding.

    So I would like to ask those more in the know on this what the best options are? Is there a way other than vectorfields or SDFs to attract or otherwise effect particles in the VFX graph that I don't know about?
     
  2. JackDDeane

    JackDDeane

    Joined:
    Aug 6, 2018
    Posts:
    26
    Hey everyone, just a quick update. I found this amazing package 'Mesh to SDF' which creates a LIVE SDF image that allows you to input a mesh, you can plug directly into your VFX graph...F***ing amazing. I have tested it one Unity 2019.2 and it works as far as I know. They go through instructions on how to use it on the page I linked.
     
    Ehredt likes this.