Restore Operator
#1
Can the new Restore Operator get given Interpolation please?

Thanks,
Max
  Reply
#2
Use case?
  Reply
#3
(02-28-2025, 03:50 PM)tyFlow Wrote: Use case?

If one wanted to restore particles to their starting state using transition/interp, we can see it being useful for jiggling particles on the spot for example.
  Reply
#4
Well I don't really think you'd get a jiggling effect if you did that. If you apply a constant force and then also apply a constant interpolation back to the starting state, you'll just get particles either in equilibrium, or dampened. I mean, Restore is just a shortcut operator that can replace a classic Custom Properties save/load...so you can already test what you're suggesting using Custom Properties. If you find a case where an intended effect can't be achieved without interpolation, I'm happy to take a look. But I have a hunch that Restore is the type of operator where interpolation actually won't be useful.
  Reply
#5
(02-28-2025, 06:35 PM)tyFlow Wrote: Well I don't really think you'd get a jiggling effect if you did that. If you apply a constant force and then also apply a constant interpolation back to the starting state, you'll just get particles either in equilibrium, or dampened. I mean, Restore is just a shortcut operator that can replace a classic Custom Properties save/load...so you can already test what you're suggesting using Custom Properties. If you find a case where an intended effect can't be achieved without interpolation, I'm happy to take a look. But I have a hunch that Restore is the type of operator where interpolation actually won't be useful.

I don't think we are knowing how to use the Restore operator the right way, because I also miss an interpolation, does the operator save the desired data or deliver the previously saved data?

In my case I created particles at event 1, they were in a specific position at event 2 and after another action event (3) I would like that at event 4, they return gently and with some speed variation to the state and position that were in event 2, how could the restoration help me?
  Reply
#6
That's not a use case for the Restore operator. It only restores properties for the event the particles entered and are still in. If you want to store between events, use a Custom Properties operator.
  Reply
#7
You mention "restoring properties over time" in the info help section. Sorry for being dumb, but how is this possible without Interpolation?
Please could you provide an example of how we can use the Restore operator?
Thanks!
  Reply
#8
I guess the wording there is ambiguous....it could be interpreted as "gradually restore over time" or "continually restore over time" (as in, restore the value again and again over time)...I meant the latter but I understand why you understood it as the former.

If you've found a use case for interpolation in that operator, then it's something I can add in the future.
  Reply
#9
Quote:...so you can already test what you're suggesting using Custom Properties

Thanks, that would be great. 
I just tested using CP and it works as expected. Please see attached pic.
So yep, it would be great to have interp if possible.


Attached Files Thumbnail(s)
   
  Reply


Forum Jump: