Tumbling an object

I’m trying to tumble an object, really simple setup:

Bugger.PNG

The problem is gimbal lock.

In other engines I’d just use a Quaternion.

What is the correct way to do this kind of calculation in Unreal Blueprint?

(I really hope the answer isn’t to check the object’s rotation for axis flips)