Rotation Rate function

If you want to know the rate, that has to be per second or something ( or per x milliseconds ), so you have to measure it at intervals.

On tick, you’re measuring it per frame, which, if you have a decent frame rate won’t tell you much. Also, frame rate is dependent on whatever else is happening, and the hardware.