Angular Velocity Question

I was working on a simple movement setup, and found something odd.
If I were to rotate an object using angular velocity, and then set it’s angular velocity to 0, it continues to rotate.

from bge import logic

cont = logic.getCurrentController()
own = cont.owner

key = own.sensors['key']

if key.positive:
    own.angularVelocity[2] += .01
else:
    own.angularVelocity[2] = 0.0

Any ideas why this is happening?

It is strange, I think that it is not how the property is meant to work. I tested it on 2.56 and 2.53, both having the behavior you described. I also tried using the setAngularVelocity() function which didn’t work.

Local angular velocity vs global, I would say. I think for local it’s like the change in angular velocity rather than the absolute amount.