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!
)
2 Likes
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.
But the second one with the function works great 
Thanks
Regards
Peter
1 Like
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
1 Like
I mean you can kinda do it like so,
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 : )
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
1 Like