-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Particles depend on camera angle #6632
Comments
I think we should add https://api.playcanvas.com/classes/Engine.ParticleSystemComponent.html#particleNormal
It might be connected with orientation problems. or might be new ones. |
Velocity is just a single vector. A quad needs to be aligned two two vectors, otherwise it could randomly rotate around the velocity. I think the other vector is related to the camera, so that the quad is visible by the camera. What else are you suggesting here @LeXXik ? |
Hmm, to be honest I haven't studied the particle system implementation yet. There isn't anything else in addition to it. Just that the particles should maintain their orientation while in flight regardless of camera's angle. Can the particles not use camera vectors and use world up/forward instead when they are in the world space? |
When particles in a particle system set to align to motion, they should only consider their velocity. However, the camera's angle is also included, making them rotate on camera rotation.
Repro: https://playcanvas.com/project/1223253/overview/particle-system-issue
2024-05-27.11-42-28.mp4
The text was updated successfully, but these errors were encountered: