Calculating RPM?

Hi Blender community, I need some help with this, How can I calculate the rpm of an object? E.g. A Wheel

I need to calculate RPM of engine, though…:smiley:

The BGE provides angular velocity in rad/sec.

That means 2Pi ~ 360°/sec -> 1 round per second -> 60 rounds per minute

from math import pi

RAD_TO_RPM = 60/(2*pi) 

    rpm = object.worldAngularVelocity.length * RAD_TO_RPM

Thanks Monster I got it