On trigger rotate pawn for 3 seconds

Hi, I’m trying to make a item that when is trigger makes the player rotate in place for 3 seconds and then stops. Mor or less like the banana peel on mario kart. I’ve tried with set actor rotation but it olny rotates it once. And I can figure out how can I make it go smoothly the rotation

There are 3 easy ways:

1 - rotation movement component + 3s timer

2 - 3s timeline

3 - inc rotation during 3s

However, to make it like in Mario Kart, I would use a timeline, because it’s easier, allows you to finish the rotation with the same starting orientation (without much math) and allows you to create a little “bounce” movement at the end.

I don’t know anything of TimeLine… do you have any tutorial to get started? is the same as animations?

yeah, rotation movement works :smiley:

but I want to give it a try to Timelime but I don’t know where to start

There are a ton of tuts on youtube on timelines. You should start with simple ones like opening a door.
Here are a few:
[link1][1]
[link2][2]
[link3][3]

Here is what I did as a test:

And the timeline:

When you press “Space” the actor turns1800/360 = 5 times in 3 seconds, after which it will bounce a little at the end (just like in Mario Kart). The actor will also end up facing the same direction he was before the rotation.