Unity3d Particle System

Source: Internet
Author: User
Tags random seed

Let's take a look at the properties of particle system in the inspector window:

1.Transform: Can control the change of the particle in the world or local coordinates. However, it is important to note that if you change the Scale property value, the size of the particle will not be affected. So we want to change the size of the particle.

2.Particle System: Change particle properties, such as size, launch speed, and so on. This is also the core component of our particle production.

(1) Duration: The length of time the particle plays. When set to 5 in seconds, the particle plays for 5 seconds.

(2) Looping: loop playback. Plays the time in duration, and then loops the playback.

(3) Prewarm: Preheat particle emission. Check this option must first tick the looping option, when we start emitting particles, is not the number of particles starting from 0, and then slowly increase. But when we tick this, he will be when we click on the launch, he is not starting from the number 0, but like already launched a cycle.

(4) Start delay: How long the delay begins to emit particles. How many seconds delay after clicking play to start playing particle effects. (If the warm-up particles are checked, this option becomes unavailable).

(5) Start Lifetime: Begins the life cycle of the particles. That is, each particle's survival time, for example, set to 100, then you can see the particle 100 seconds, it will be destroyed after 100 seconds.

By knowing that the Start Lifetime supports 4 different types of values

1) Constant: constant. That is, each declaration cycle is the same.

2) Curve: Curve.

By graph, you can set the lifetime duration of a particle in a second in playback according to duration and Startlefetime.

3) Random between two contants: randomly a number between two constant numbers, such as, it may be 1, or 3, or 10.

4) Random between two Curves: one number randomly between the curves.

The red area is an area that can be random numbers.

(6) Start speed: start velocity. The speed at which a particle is born can also have a value of 4, because some particles are faster and some are slower.

(7) 3D start size:3d starting size, with X, Y, z three sizes. (It should be for 3-D particles, tick the start size is not available, 3D contains 2D).

(8) Start size: Start sizes. Particles are born with the size. As with speed, there are also 4 types.

(9) 3D Start Rotation: Particle initial rotation angle. (When checked, Start rotation is not available).

Start Rotation: The initial rotation angle of the particles. There are 4 types of numeric values.

(one) Randomize Rotation: The initial random direction of rotation of the particles, the value range 0~1.

Start color: The initial color of the particle. But the bigger the impact is the color of the material ball! To be used with the material ball.

Gravity Modifier: Gravity multiplier, the larger the value, the greater the gravitational effect; This also affects the trajectory of the particle, even at a speed of 0.

Simulation Space:make particle positions simulate in world,local or custom Space. In local space they stay relative to their own transform,and in custom space they is relative to the custom Transform. ( simulates particle locations in the world, local, or custom space.) In local space, they are relative to their own transformations, and they are relative to the custom transformations in the custom space. ).

Simulation Speed:scale The playback speed of the particle System. (Scales the playback speed of the particle system).

(+) Delta time:

Scaling Mode: Scale, three options

Play on awake: play when the game starts.

(+) Emitter Velocity: Two options, Transform,rigidbody. When particles move, the system calculates the rate based on which one.

Max particles: The maximum number of particles, the particle system emits so many particles, more than this number to stop the launch;

(+) Auto Random Seed:

Stop action: End action. When the particle finishes playing, how to manipulate Gameobject, disable or destroy. Or nothing to do none. (Valid only when the game is running).

Unity3d Particle System

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.