当前位置:网站首页>Unity technical manual - size over lifetime and size by speed
Unity technical manual - size over lifetime and size by speed
2022-06-25 17:43:00 【sesame seeds】
- Click the jump =>《 Navigation post 》- Unity manual , Systematic practical learning
- Click the jump =>《 Navigation post 》- Android manual , Revisit mobile development
This article is about 2.6 Thousand characters , Novice reading needs 9 minute , Review needs 2 minute 【 Collect at any time, no longer get lost 】
About author
as everyone knows , Life is a long process , constantly overcome difficulties , Constantly reflect on the process of progress . In this process, there will be a lot of questions and thoughts about life , So I decided to put my thinking , Share all your experiences and stories , To find resonance !!!
Focus on Android/Unity And various game development skills , as well as Share various resources ( Website 、 Tools 、 material 、 Source code 、 Games etc. )
If you need anything, welcome me , Communication groups make learning No longer alone .

Premise
This is what Xiao Kong insisted on writing Unity Novice series , Welcome to taste .
Novice (√√√)
bosses (√)
The particle section is a series of articles , And the introduction was very detailed , Suggest Collection .
Practice process
Life cycle size (Size over Lifetime) Sub module

The module can realize that the particle size changes with the change of life cycle .
Separate Axes- Separation shaft : It means that it can be controlled separately after opening x Axis y Axis z Axis , By default, the particle system as a whole is not checked . To achieve non-uniform particle scaling, check the separation axis , Then change them separately x Axis y Axis z Axis , Be careful z Only when mesh particles are valid .
Size: Particle size changes over the life cycle , A curve or hyperbolic interval or two value interval is used to define how the particle size changes in its life cycle .
Application scenarios : For fireballs produced by fuel combustion , Flame particles tend to expand after emission , But in the later stage, it gradually disappears and shrinks as the fuel runs out and the flame dissipates . under these circumstances , There will be a curve that first rises and then falls to a smaller size “ hump ”.
Speed determines size (Size by Speed) Sub module

The module can control different particle velocities and display different sizes , For example, explosive effect , Realistic physical effects , The speed of flying out is usually slightly smaller , The larger the volume and mass, the slower the general speed of the object .
The module attributes and speed colors (Color By Speed) Module attributes are basically the same . The separation shaft can be used x Axis y Axis z Axis for different scaling to achieve non-uniform effect .
Create a new scene , You can create a new particle system object , Then the main module's 【Start Speed】 Set to two numerical ranges, for example 1-10. Then check the activation speed (Size By Speed) modular , Set the speed range to 1-10, Then modify the curve , You can see the effect ( Remember to open the real-time preview, otherwise you have to see the effect after running ), In actual projects, the speed range of the module is usually the same as 【Start Speed】 The interval range is consistent , So you can see the corresponding relationship at a glance , Even after a long time, you can look back and see clearly , Otherwise, if you look back at the particle, you have to calculate a wave by yourself , Waste time in vain .
other
author : Xiaokong and Xiaozhi Xiaokong
Reprint note - Be sure to indicate the source :https://zhima.blog.csdn.net/
This Taoist friend, please Step back ️, I watch you Extraordinary bearing , There is a king's domineering spirit in his speech , There will be a great achievement in the future !!! There is give the thumbs-up Collection Today I tell you , Have you ordered it , Your success in the future ️, I don't take a penny , If it doesn't work ️, Or come back to me .
reminder : Click the card below to get more unexpected resources .
边栏推荐
猜你喜欢

揭秘GES超大规模图计算引擎HyG:图切分

SDN system method | 10 The future of SDN

【编译原理】词法分析

杰理之唤醒口使用注意事项【篇】

数学建模——整数规划

Under the same WiFi, the notebook is connected to the virtual machine on the desktop

How high does UART baud rate require for clock accuracy?

超全金屬PBR多通道貼圖素材網站整理

为什么在变频器场合需要安科瑞的电力有源滤波器?
![[matlab] data interpolation](/img/b8/d7e1a5f7c6f56c8312a1fb5d517ac6.png)
[matlab] data interpolation
随机推荐
Find the longest substring length satisfying the condition
Vscode / * * generate function comments
Assembly language (5) register (memory access)
数学建模——整数规划
Next. JS hot update markdown file change
匯編語言(5)寄存器(內存訪問)
cgi通过odbc连接数据库
证券公司排名前十手续费最低 办理开户安全吗
为什么在变频器场合需要安科瑞的电力有源滤波器?
智能对话01-redis的安装
【Matlab】数据统计分析
Golang sort slice int
中断操作:AbortController学习笔记
Mathematical modeling - linear programming
golang sort slice int
图标丢失,URL附带JESSSIONID的什么来的?
【UVM实战 ===> Episode_1 】~ MCDF设计更新、AMBA标准接口、UVM验证环境更新
一些常用的知识点积累
杰理之唤醒口使用注意事项【篇】
Is Guotai Junan Securities reliable? Is it legal? Is it safe to open a stock account?