当前位置:网站首页>Unity particle special effects series - the poison spray preform is ready, and the unitypackage package is directly used - on
Unity particle special effects series - the poison spray preform is ready, and the unitypackage package is directly used - on
2022-07-05 10:07: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 3.6 Thousand characters , Novice reading needs 11 minute , Review needs 3 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
Hello, Hello everyone , I'm Xiao Kong . The special effects series has not been updated for a long time , Today I will show you a particle effect - Venom spray The effect of .
Let's look at the renderings first
From the picture , Let's do a little analysis .
- The venom and liquid just sprayed
- Small dispersed liquid produced over time
- Mist produced by liquid
- Dust is generated after landing
It is divided into four parts . good , Now that I know , Then let's start to realize .
Venom big liquid
As shown in the figure , Create a particle object , We will Start life cycle Change it to 0.2-0.4, The starting size is changed to 0.03-0.06, Focus on adding the medium gravity modifier , To achieve the effect of falling in the process of liquid particles spraying , The number of particles produced per unit time in the emission module is set to 20 above .
At this time, the effect is like this
Prevent too many moving pictures and don't put them .
Then we continue to modify , Check Life cycle speed modular , Set it to the following value ( Double constant random value ):
So what do these mean ?
Represents the linear velocity of the particle on the target axis ,x Random on axis 1 To negative 1 Between ,y The axis is 1 to 2 Between ,z The axis is 4-6 Between .
A positive number means that the particle moves in the positive direction of the target axis , A negative number means moving in the negative direction of the target axis . So how to better understand ? Let's take a constant , Keep changing the value , Let's see the moving picture , Pay attention to the mouse adjustment value and coordinate axis
Only a constant representation plus a dynamic graph must be understood .
So double constant , It is randomly generated in this interval , And then realize the real sense of randomness , No longer regular .
next , Let's add Life cycle size Templates , With the passage of time , The liquid is getting bigger , After all, who comes up is big , Not all have to develop ?
It's not over yet. , We set the rendering mode in the rendering module to the second , That is, stretch Billboard, Stretch the length .
But look at the effect , Not ah , The particles stretch , Don't worry , We change the material into our own , Replace the map in the material with a long strip .
Pictured , One, two, three, four can be set in sequence , Careful, you must find , Rendering mode The length ratio in I will be positive 4 Revised to -4, ha-ha , That's because my mapping direction is reversed , This is positive . It's very witty .
Last , Let's add another color to it .
The most basic big liquid effect doesn't come out .
Let's talk about the rest in the next article , By the way , need unitypackage I can just ask for your direct private message . Nothing , Nothing .
Be bold , We will have a story !!!
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 .
边栏推荐
- Getting started with Apache dolphin scheduler (one article is enough)
- 苹果 5G 芯片研发失败?想要摆脱高通为时过早
- Application of data modeling based on wide table
- 百度交易中台之钱包系统架构浅析
- Resolve the horizontal (vertical) sliding conflict between viewpager and WebView
- 揭秘百度智能测试在测试自动执行领域实践
- From "chemist" to developer, from Oracle to tdengine, two important choices in my life
- 百度智能小程序巡檢調度方案演進之路
- 解决idea调试过程中liquibase – Waiting for changelog lock….导致数据库死锁问题
- [200 opencv routines] 219 Add digital watermark (blind watermark)
猜你喜欢
The comparison of every() and some() in JS uses a power storage plan
【OpenCV 例程200篇】219. 添加数字水印(盲水印)
RMS TO EAP通过MQTT简单实现
How to improve the operation efficiency of intra city distribution
Node red series (29): use slider and chart nodes to realize double broken line time series diagram
E-commerce apps are becoming more and more popular. What are the advantages of being an app?
【小技巧】获取matlab中cdfplot函数的x轴,y轴的数值
Officially launched! Tdengine plug-in enters the official website of grafana
美图炒币半年亏了3个亿,华为被曝在俄罗斯扩招,AlphaGo的同类又刷爆一种棋,今日更多大新闻在此...
Charm of code language
随机推荐
天龙八部TLBB系列 - 关于包裹掉落的物品
基于模板配置的数据可视化平台
能源势动:电力行业的碳中和该如何实现?
从“化学家”到开发者,从甲骨文到 TDengine,我人生的两次重要抉择
正式上架!TDengine 插件入驻 Grafana 官网
Tutorial on building a framework for middle office business system
让AI替企业做复杂决策真的靠谱吗?参与直播,斯坦福博士来分享他的选择|量子位·视点...
从“化学家”到开发者,从甲骨文到TDengine,我人生的两次重要抉择
天龙八部TLBB系列 - 关于技能冷却和攻击范围数量的问题
如何获取GC(垃圾回收器)的STW(暂停)时间?
[200 opencv routines] 219 Add digital watermark (blind watermark)
View Slide
QT event filter simple case
Resolve the horizontal (vertical) sliding conflict between viewpager and WebView
Tdengine connector goes online Google Data Studio app store
Cerebral Cortex:有向脑连接识别帕金森病中广泛存在的功能网络异常
Unity粒子特效系列-毒液喷射预制体做好了,unitypackage包直接用 - 上
Mysql80 service does not start
Meitu lost 300 million yuan in currency speculation for half a year. Huawei was exposed to expand its enrollment in Russia. Alphago's peers have made another breakthrough in chess. Today, more big new
Apache DolphinScheduler 入门(一篇就够了)