Resume Interp To Movement

Hello there !
I’m posting here 'cause I have a problem with my platform.
I’m trying to do a moving platform with an interp to movement, that when the player character enters in the collision box, it starts to move, and when he leaves it, it stops.
The problem I have is that I can’t figure out how to pause and resume the platform. It moves when the player goes in and it stops when he leaves, but when he returns in it nothing happens.

Can you help me please?
Thank you!

You can always carry on the interp from where you left off. Can you show the interp code?

How do I get the code?
Here are the settings of the interp btw :

350832-2.png

And here is the video of the problem:

Ah… it’s a movement component. I don’t know if it has a reset node?

If it doesn’t, the more normal way to do this would be with a timeline. I will post something in a while, bit busy now…

EDIT: Apparently it’s been doing this forever, I think it’s intended behavior. Will get back.

Ok!

Code looks like this:

Inside the timeline:

Result:

350863-ezgifcom-gif-maker.gif

EDIT: I tried it with the rinterp component, yup, it doesn’t work.

1 Like

I guess I’m stuck then haha, thanks anyway :slight_smile:
Have a good day !