0
0

Hi,

This may be some conceptual misunderstanding, but I’m getting a following behavior while experimenting with EventSystem:

  1. I have a one-shot event with a parameter with relatively slow seek speed.
  2. Max playbacks is set to 2.
  3. Every time an event is triggered, a parameter is set to seek to some destination value.
  4. I trigger this event frequently, so each time the "max playbacks" behavior is used (steal quietest). To play back an event, i use getEvent() and Event::start().

I expected that every time I use getEvent(), its parameters are being set to default values. But apparently they are not, because every time an event object is stolen, its parameter values are kept intact, so they continue to seek to a given destination instead of restarting.

Interestingly, if I give some idle time to the system before re-triggering an event, the parameters do start from their initial values. Looks like they are being flushed during idle time.

Is this an intended behavior? And is there a way to force reset the parameters before starting an event?

Thanks for your patience :)

  • You must to post comments
0
0

Is there any way to do the opposite of this? To force an event with a seek time on its parameters to initialise with those parameters set at a certain value? We have a seek time on vehcile engines to smotth out deltas coming in from physics bu it means that when we want a vehicle to start "already moving" it seeks up to its RPMs from 0 which doesn’t sound so good.

Cheers.

  • You must to post comments
0
0

Thanks for the report! This is a bug – the parameter seek targets should be reset when you start the event.

I have added this issue to our tracker. We will get it fixed as soon as possible.

  • You must to post comments
0
0

This issue has been fixed for the next release.

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.