Stop object from rotating?

How can I make an object completely stop rotating, I tried setAngularVelocity([0, 0, 0]) but it didn’t seem to work. Any help would be great, thanks.

Bump, anyone?

Use an IPO?

I don’t think that would work, no python functions?

how about turning rigid body off and keep dynamic on so it’ll stop be affected by rotation but will still be affected by gravity.

Why dont you just go:


Ok, so how can I get a vector of the objects current rotation that will work with that function?

If you set a negative and positive value at the same time it will stop the rotation and momentum.

setAngularVelocity((0.0, 0.0, 0.0001), 1)
setAngularVelocity((0.0, 0.0, -0.0001), 1)
(small values may not be necessary):slight_smile:

Thanks phil, it seems it does not work when you use 0. I guess you have to use a small number.

the smallest number I found is 0.00000012: