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

My particles live too long! How do I shorten life?

Discussion in 'Editor & General Support' started by RalphOcampo, Apr 23, 2015.

  1. RalphOcampo

    RalphOcampo

    Joined:
    Mar 13, 2015
    Posts:
    9
    I am new to Unity. I am using Unity 4.6.3. I bought some rockets from the Unity Asset store which came with
    particle emitters already defined.

    I have tried to read the documentation and played with some of the values, but I am still not sure what setting to modify to shorten the life of the particles. I want to make the particles live 25% of their current life.

    Below are the settings I see for the Ellipsoid Particle Emitter, Particle Animator, and Particle Renderer.

    Ellipsoid Particle Emitter
    Emit check box is checked.
    Min Size = 1
    Max Size = 2
    Min Energy = 3
    Max Energy = 3
    Min Emission = 50
    Max Emission = 75
    World Velocity
    X = 0 Y = -2 Z = 0
    Local Velocity
    X = 0 Y = 0 Z = 0
    Rnd Velocity
    X = 0 Y = 0 Z = 0
    Emitter Velocity Scale = 0.05
    Tangent Velocity
    X = 0 Y = 0 Z = 0
    Angular Velocity = 0
    Rnd Angular Velocity = 0
    Rnd Rotation check box is not checked.
    Simulate in Worldspace check box is checked.
    One Shot check box is not checked.
    Ellipsoid
    X = 0.01 Y = 0.01 Z = 0.01
    Min Emitter Range = 0

    Particle Animator
    Does Animate Color check box is checked.
    Color Animation [0] <color defined>
    Color Animation [1] <color defined>
    Color Animation [2] <color defined>
    Color Animation [3] <color defined>
    Color Animation [4] <color defined>
    World Rotation Axis
    X = 0 Y = 0 Z = 0
    Local Rotation Axis
    X = 0 Y = 0 Z = 0
    Size Grow = 0
    Rnd Force
    X = 0 Y = 0 Z = 0
    Force
    X = 1 Y = -3 Z = 1
    Damping = 1
    Autodestruct check box is not checked.

    Particle Renderer
    Cast Shadows check box is checked.
    Receive Shadows check box is checked.
    Materials
    Size = 1
    Element 0 = Fire
    Use Light Probes check box is not checked.
    Light Probe Anchor = None (Transform)
    Camera Velocity Scale = 0
    Stretch Particles = Billboard
    Length Scale = 2
    Velocity Scale = 0
    Max Particle Size = 0.025
    UV Animation
    X Tile = 1
    Y Tile = 1
    Cycles = 1

    My rockets start at the bottom of the screen. The user presses a "Fire" button. The rocket is then activated and moves up because I apply a gravity Y = 9.81 instead of Y = -9.81 in the PhysicsManager. The particle trail lingers behind the rocket much longer than I want. I would like the rocket trail to leave the top of the screen shortly after the rocket leaves the top of the screen.

    Also, I have noticed that the rocket trail is curved to the right as if wind is being applied to the particles.
    How to I eliminate the curving of the trail?

    Below is a link to screen shots:
    http://1drv.ms/1GkIy0m
     
  2. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
  3. RalphOcampo

    RalphOcampo

    Joined:
    Mar 13, 2015
    Posts:
    9
    Thanks! That's just what I needed!