Particle System particle direction

Hi

Is there a way to make particles from a particle system always look up?

I see this in JSON from a particle system but I can make it to work.

  isBillboardBased: true,
  billboardMode: 7,

They do not have to rotate or anything just the planes from the sprites to look Up that’s it.

Regards
Peter

1 Like

like so?

by setting particleSystem.isBillboardBased = false;

and changing the particleSystem.direction1 and particleSystem.direction2 to the direction you want them to be facing : )

you can read about it here in the docs

you can also set startDirectionFunction to modify the starting direction

you can read about it here in the docs
(happy joining anniversary btw! :cake:)

2 Likes

Hi @Heaust-ops

I did not even noticed that :slight_smile: 5 years working with Babylon :slight_smile:

So the 1st solution I tried before but it works with Box Emitter. Sphere Emitter type ignore it.

But the second one with the function works great :slight_smile:

Thanks

Regards
Peter

1 Like