Search Unity

  1. Tune in to get all the latest Unity news live from Berlin on June 19, 6pm CEST. Set up a YouTube reminder!
    Dismiss Notice
  2. Unity 2018.1 has arrived! Read about it here
    Dismiss Notice
  3. Scriptable Render Pipeline improvements, Texture Mipmap Streaming, and more! Check out what we have in store for you in the 2018.2 Beta.
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  5. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  6. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  7. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

2018.1.2f1 particle pivot issues

Discussion in 'Editor & General Support' started by jimmyjamesbond, May 30, 2018.

  1. jimmyjamesbond

    jimmyjamesbond

    Joined:
    Mar 17, 2015
    Posts:
    9
    Couple things I've noticed that have kind of messed up a lot of content for our game.

    Did the particle pivot axis change?

    Using size over life doesn't take the pivot into consideration anymore. Seems to emit and scale to the pivot location now? (make speed 0, turn on size over life, move the pivot, sadness)

    Maybe I'm just confused and this is how it's supposed to behave?
     
  2. richardkettlewell

    richardkettlewell

    Unity Technologies

    Joined:
    Sep 9, 2015
    Posts:
    646
    The pivot offset is a percentage of the particle size. So a value of 0.5 should place the pivot on one side of the particle billboard.

    As its size changes, this should remain true.

    If you think this isn’t happening, you may want to submit a bug report so we can take a closer look at your exact use case.
     
  3. jimmyjamesbond

    jimmyjamesbond

    Joined:
    Mar 17, 2015
    Posts:
    9
    That seems to be working like that. Not sure if that's how it was behaving in 2017. Will have to check.

    The pivot is not the same however. I had offsets in Z and now Y is doing what Z used to be doing.
     
  4. jimmyjamesbond

    jimmyjamesbond

    Joined:
    Mar 17, 2015
    Posts:
    9
    Just opened 2017 and 2018 side-by-side. Pivots used to be incorrect. Z and Y were flipped. The weird size thing I was seeing was because the mesh pivot was now scaling from the wrong axis. Well, now the correct axis.

    Now to write a script to find all assets with pivot offsets and swap y and z as well as re-export mesh used in particles and swap their axis' as well.
     
    richardkettlewell likes this.
  5. kokaku-r

    kokaku-r

    Joined:
    Jan 17, 2018
    Posts:
    1
    hello. jimmyjamesbond.

    i'm faced with the same problem... :(
    >as re-export mesh used in particles and swap their axis' as well.

    What kind of tool is this?
    thank you.