# Particle System particle direction

**URL:** https://forum.babylonjs.com/t/particle-system-particle-direction/55331
**Category:** Questions
**Created:** [December 12, 2024, 6:53pm UTC](https://forum.babylonjs.com/t/particle-system-particle-direction/55331 "2024-12-12T18:53:55Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![peterimg](https://avatars.discourse-cdn.com/v4/letter/p/50afbb/32.png) [@peterimg](https://forum.babylonjs.com/u/peterimg)
#### Post date: [December 12, 2024, 6:53pm UTC](https://forum.babylonjs.com/t/particle-system-particle-direction/55331/1 "2024-12-12T18:53:55Z")

</div>

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.

```auto
  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

---

<div class="post-metadata">

### Author: ![Heaust-ops](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/heaust-ops/32/45470_2.png) [@Heaust-ops](https://forum.babylonjs.com/u/Heaust-ops)
#### Post date: [December 13, 2024, 5:59am UTC](https://forum.babylonjs.com/t/particle-system-particle-direction/55331/2 "2024-12-13T05:59:15Z")

</div>

like so?

> **[Babylon.js Playground](https://playground.babylonjs.com/#0K3AQ2%233441)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL and WebGPU 3D scenes

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](https://doc.babylonjs.com/features/featuresDeepDive/particles/particle_system/particles_tuning/#direction) in the docs

you can also set `startDirectionFunction` to modify the starting direction

> **[Babylon.js Playground](https://playground.babylonjs.com/#0K3AQ2%233442)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL and WebGPU 3D scenes

you can read about it [here](https://doc.babylonjs.com/features/featuresDeepDive/particles/particle_system/customizingParticles/#custom-functions) in the docs  
_(happy joining anniversary btw! 🍰)_

---

<div class="post-metadata">

### Author: ![peterimg](https://avatars.discourse-cdn.com/v4/letter/p/50afbb/32.png) [@peterimg](https://forum.babylonjs.com/u/peterimg)
#### Post date: [December 13, 2024, 9:43am UTC](https://forum.babylonjs.com/t/particle-system-particle-direction/55331/3 "2024-12-13T09:43:43Z")

</div>

Hi @Heaust-ops

I did not even noticed that 🙂 5 years working with Babylon 🙂

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

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/a/4/a48286724ac73bea319da7829c90cb1dab35e850.png)

But the second one with the function works great 🙂

Thanks

Regards  
Peter

---

<div class="post-metadata">

### Author: ![peterimg](https://avatars.discourse-cdn.com/v4/letter/p/50afbb/32.png) [@peterimg](https://forum.babylonjs.com/u/peterimg)
#### Post date: [May 12, 2025, 1:12pm UTC](https://forum.babylonjs.com/t/particle-system-particle-direction/55331/4 "2025-05-12T13:12:54Z")

</div>

Hi @Heaust-ops

I noticed one thing along the way. The solution you previously provided works still.

But only in CPU based ParticleSystems.

There is no ps.startDirectionFunction in GPUParticleSystem?

Any solutions for this issue?

regards  
Peter

---

<div class="post-metadata">

### Author: ![Heaust-ops](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/heaust-ops/32/45470_2.png) [@Heaust-ops](https://forum.babylonjs.com/u/Heaust-ops)
#### Post date: [May 13, 2025, 8:46am UTC](https://forum.babylonjs.com/t/particle-system-particle-direction/55331/5 "2025-05-13T08:46:30Z")

</div>

I mean you can kinda do it like so,

> **[Babylon.js Playground](https://playground.babylonjs.com/#1ASENS%23412)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL and WebGPU 3D scenes

if we could access the vertex source of the effect used for the particle system, that would be the right way to do this. Or maybe an api just straight up exists in the documentation for this exact case, but I can’t find it lol

I’ll leave the proper way for this to wiser minds : )

---

<div class="post-metadata">

### Author: ![peterimg](https://avatars.discourse-cdn.com/v4/letter/p/50afbb/32.png) [@peterimg](https://forum.babylonjs.com/u/peterimg)
#### Post date: [May 13, 2025, 11:11am UTC](https://forum.babylonjs.com/t/particle-system-particle-direction/55331/6 "2025-05-13T11:11:57Z")

</div>

Hi @Heaust-ops

Thanks for replay. I think the function could be there. Or making it in a different way could be beneficial for easy change between ParticleSystems.

@PolygonalSun What do you think?

Regards  
Peter
