playcanvas / playcanvas/editor

Particle System preview doesn't update bounds when velocity graph is modified

Open
#652 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: editor interface area: launch tab area: particles bug
Dominant language
TypeScript
Stars
1.3k
Forks
215
Avg merge
1d 29m
Merged PRs (30d)
30

Description

Related forum post: https://forum.playcanvas.com/t/how-to-avoid-particles-system-to-teleport-particles/4664

See video where the velocity graph is modified but the bounds stay the same and the particles wrap from the top to the bottom.

https://user-images.githubusercontent.com/16639049/148219616-b3643d95-cc6e-4371-83ab-b4a0feba20a9.mp4

Only when I make a different change such as ticking and unticking 'wrap', does the bound update in the preview.

This doesn't affect the launch tab/runtime calculation.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the particle-system preview issue by editing the velocity graph and observing whether the bounds refresh, then compare it with toggling “wrap,” which currently triggers an update. Trace the preview’s bounds-refresh path; done means graph edits immediately update the preview bounds while leaving the launch tab/runtime calculation unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.