RealityKit particleEmitter delay starting when toggling isEmitting

I have a scene built up in RealityComposerPro, in which I've added a ParticleEmitter with isEmitting set to False and 'Loop' set to True.

In my app, when I toggle isEmitting to True there can be a delay of a few seconds before the ParticleEmitter starts.

However, if I programatically add the emitter in code at that point, it starts immediately.

To be clear, I'm seeing this on the VisionOS simulator - I don't have access to a device at this time.

Am I misunderstanding how to control the ParticleEmitter when I need precise control on when it starts.

Answered by peggers123 in 826114022

OK - I've figured it out.

The EmissionDuration needs to be set low - I had it at 10 seconds, which means I could be waiting between 0...10 for it to start.

Accepted Answer

OK - I've figured it out.

The EmissionDuration needs to be set low - I had it at 10 seconds, which means I could be waiting between 0...10 for it to start.

RealityKit particleEmitter delay starting when toggling isEmitting
 
 
Q