Skip to content

Commit

Permalink
default value for particle system burst emission
Browse files Browse the repository at this point in the history
  • Loading branch information
Alchemist0823 committed Jul 6, 2024
1 parent 509019b commit 3fbae60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/three.quarks/src/ParticleSystem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1281,9 +1281,9 @@ export class ParticleSystem implements IParticleSystem {
typeof burst.count === 'number'
? new ConstantValue(burst.count)
: ValueGeneratorFromJSON(burst.count),
probability: burst.probability,
interval: burst.interval,
cycle: burst.cycle,
probability: burst.probability ?? 1,
interval: burst.interval ?? 0.1,
cycle: burst.cycle ?? 1,
})),
onlyUsedByOther: json.onlyUsedByOther,

Expand Down

0 comments on commit 3fbae60

Please sign in to comment.