[Tutorial] Particle Sea in Unity3D


Hi Everyone,

Recently I decided to create my blog about Unity3D and other technologies. First post is dedicated to creating “Particle Sea” in my favourite engine.

This is how it looks in action!

Tutorial is available here: http://unreferencedinstance.com/tutorial-particle-sea-in-unity3d/

L
et me know what do you think guys, don’t hesitate to ask questions or criticize.

2 Likes

I like it overall :slight_smile: I’m writing this as I’m working through it so I’m noting issues as I work.

  1. In the code under Perlin Noise the less than (<) sign changes to <. This pops an error in Unity.

Hi!
In the tutorial where I have to assign the particle system (ParticleSea) to the script, I do not have the option to simply drag and drop the particle system. The roll-out in the script only allows to attach a script and nothing else. Could you help me with this?

2089187--136626--1.jpg

Nice catch, thanks! Fixed!

Make sure in ParticleSea.cs script you have following variable: public ParticleSystem particleSystem;

So code should look something like this:

using UnityEngine;
using System.Collections;

public class ParticleSea : MonoBehaviour {

    public ParticleSystem particleSystem;
    private ParticleSystem.Particle[] particlesArray;

       // Other things
}

Hope this helps.

You’re very welcome :slight_smile: Playing with the settings is addictive!

It looks very cool, but the Tut isn’t available anymore.
I would love to play with it, could you provide it here maybe?

You could try the internet archives way back machine.

Thank you @ great suggestion, it worked!
There is also a link to the project files on github → GitHub - RafalWilinski/Particle-Sea: 🎉 Particle Sea made in Unity3D