Unity 5 Tutorial: Particle Systems #10 Circle & Helix with Code

preview_player
Показать описание
Unity Particle System Tutorial: How to create circles and helixes with a C# script. I'll show you how to calculate sine and cosine waves to create them.
▼▼▼ More Infos here: Check em out! ▼▼▼

Why use code for a Unity Particle System?

If you have read my other Unity Particle System Tutorial: Circle Motion you might have noticed doing all that stuff by hand can take some minutes. Also you need to calculate every point beforehand.

The cool thing about using code is you can use a frequency(a repeatrate) and even a amplitude (the value height -1.0f,1.0f). So you can easy enter a frequency of 100 so you will 100 cicles without touching the curves by hand which saves alot time. also you could increment amplitude over time or change to your needs to create tornados or other shapes. So accuracy and usability are the most important key features in terms of coding, which you might not be able to provide by hand.

Support me:

Social Media:

Рекомендации по теме
Комментарии
Автор

And this is why I'm subbed to your channel, perfect timing for a video like this. Keep up the awesome work. Your videos are always super helpful.

swme
Автор

Hi, a little tip: you spend a lot of time typing and finding words like ParticleSystem, AnimationCurve and etc. You can easily type something like AniCur and Mono will find the right word by itself :) Great tutorial tho)

deathklaa
Автор

Hello and thank you for video
I have a question and I spent long Taim reading to know the ansuer but idid not
and no one ansuer
i have finsh my first game and i want to submit it on steam but steam do not
Accept pypal with Developers and they did not
Writes what the bank that they Accept do they Accept neteller master card or another
banks
and what is the other wibsit to submit the game

hussamzaid
Автор

Great Tutorial. If I wanted the particle line to display in a wrap around graph like manner. Like a stock line chart only that its in a circle. How could you achieve this? I was thinking of getting y points from JSON values. That fluctuate the line Thanks

artrising
Автор

I am having trouble getting my helix to show up. I typed the script exactly as you did in the video, but it always shows up as a straight line in Unity. Even when I change the values for amplitude, frequency, or Zvalue, no effect is seen on the particle system. Are there certain settings I need to change for the particle system for the script to work properly?

emmafowler
Автор

Hi there, I used your script in a project I'm working on and, it works fine... until I have to build the project. When I try to do so, every time I start the build the game crashes. Do you have the same issue?

gustavogoncalves
join shbcf.ru