SOLVED: Flying Character Max Roll?

Is there a way to set a max Roll on a Local Rotation?

I finally have my character flying based on the camera forward vector and flying up or down.

I am trying to get the mesh to kinda follow the direction as well, instead of always staying completely horizontal.

2 problems I cant figure out.

  1. How to set the MAX local rotation?
  2. How do I reset a Local Rotation to root when it lands on the ground?

When ever my character lands it kept the local rotation during the flying movement, and I know ti wont do it on its own unfortunately LOL

Solved it. I added an event tick and set world rotation based on if flying or not =)

If anyone would like to see the code let me know!