How do I calculate Angular Velocity pass into SetPhysicsAngularVelocity?

Months of trial and error and I still haven’t been able to figure it out. Is one of the axes flipped?