playcanvas / playcanvas/engine
Particles depend on camera angle
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 16.8k
- Forks
- 2k
- Avg merge
- 4h 32m
- Merged PRs (30d)
- 222
Description
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
https://github.com/playcanvas/engine/assets/5677782/11119f11-5755-4aee-a132-efee20fa8061
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked PlayCanvas particle-system reproduction and trace the align-to-motion behavior in the engine's particle-system implementation. Verify that particle rotation follows velocity alone and no longer changes when the camera rotates, then add or update coverage if the relevant tests can be located.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- computer-graphics, game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100