That’s rotation from Z since a character’s up is Z. My first post. If you want to account of the actor’s original orientation as you flip it around, it will be a matter of combining rotators.
Experiment with that, do note that the AB order matters greatly there.
Now, if you’re doing this to a chair, that should be straightforward. Making character gravity is very different.