I’m trying to create speed lines using the particle system, a common effect in games when a character is moving or running very fast. In the YouTube video below, the creator demonstrates how to generate particles fixed relative to the camera, achieving the desired speed line effect. However, I haven’t been able to replicate this behavior in Babylon.js.
I’m sharing my attempt with a playground demo. The issue I’m facing is that when I move or rotate the camera, the shape or view of the particles changes, but it shouldn’t—the particles should remain consistent regardless of the camera’s movement.
Any advice or suggestions on how to achieve this effect?
Youtube speed line: https://www.youtube.com/watch?v=D7CIz2SHQXs
My Playground: https://playground.babylonjs.com/#VNNEFX#1