Rotation Rate function

I’m trying to make a Function that gets the rotation rate of the character but it doesn’t seem to be working, Help would be appreciated.

How are you calling this, I think that’s the crucial thing :slight_smile:

It would probably need to be on a timer to make sense.

Its on Event tick, It really seems to just be giving me the actor rotation, ill try it now, Also It is a pure function.

1 Like

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.