Object rotation to a sertain degree

New UE4 developer here trying to get the hang of it.

I have been messing around with the Fly template and right now I’ve been trying to find a way to make the UFO to roll only to a sertain point.

As it is in the template. The UFO rolls continuously if you push left or right. I would like it to roll only to a 90 degrees, so it would appear sideways. And even if you keep pushing left or right, it wouldn’t roll any more.

I think it’s these “Current roll speed”, “Current pitch speed”, “Current yawn speed” variables that makes this so troublesome for me, because i don’t really understand how they work. In details window it sayes they all have value of 0.0 and even if I make them editable and change that value, it won’t matter anything. My guess is that they get their value from input, but I don’t see how and I don’t know how to affect them, so they would stop increasing.

Hope I was clear with my problem. And English is my second language, so pardon my spelling.

[EDIT] Well i did find that Current roll speed variable in editor windows detail panel and saw how it worked. So I’m not sure, but my quess is that it has very little to nothing to do with my issue :slight_smile:

Found answer by makeing blueprint out of this c++ thread