Download

Help with Rotation - Can I ease in and out Rotation animation?

Hi

I have a blueprint which contains two static meshes, car door Left and Right.

In the blueprint screenshot, When i press the button in my UMG the Left door opens and when pressed again it closes by using the relative Rotation. This all works fine.

My questions is how can I ease in and out the rotation so it does not just jump to the new position? I did try the ‘move to’ which has the ease in and out tick boxes but I need the doors to rotate on local not on world which the move seemed to do.

Any advice would be greatly appreciated

Ok a small update, I can get what I want with the Move Componenet so the rotation has the ease in and out, but it is moving the mesh to 0,0,0 which I do not want. I can type the doors location into the x,y,z and it works how I want but it seems as thought there should be an easier way?
As in get actor relevant location so I dont have to type the offset in?

Any advice please
Thank you

you probably search for the Rinterp function.

Thanks I did see this mentioned on a search, but I could not get it working…

plug your current rotation in, plug in the rotation it should have, launch that function every tick and plug in a delta second into the float. and with the speed float you obv have the speed of the rotation change. now set your components rotation to the rotation that comes out of the function

Thanks again for the reply, although I should have stated I am not hugely experienced in blue prints and not a programmer… so some of things mentioned I struggled with. But appreciate the reply, if you could provide a screenshot example that would help greatly if you have time that is…

Regards

I will be at home in the evening . I will give you a screenshot then

Use iTween, friend :slight_smile: