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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Particle System - Changing velocity over lifetime at runtime.

Discussion in '2D' started by cbothra, Oct 5, 2015.

  1. cbothra

    cbothra

    Joined:
    Mar 14, 2014
    Posts:
    125
    Hi,

    I have created a Particle system which works fine in case of 1280x800 resolution. But when I switched the resolution then the Particle system effect got distracted in terms of scaling and velocity over lifetime. I was able to resolve the scaling issue but now since the particle system is scaled, we need to update its velocity over lifetime too. I have done little search over this and at first I found that we cannot access velocity over lifetime in script but there were several tweaks which I tried but didn't got anything working.

    On a side note, I am using Orthographic camera.

    Any help would be highly appreciated.

    Thanks-in-advance.
     
    Last edited: Oct 5, 2015
  2. cbothra

    cbothra

    Joined:
    Mar 14, 2014
    Posts:
    125