
worldAngularVelocity
- gets/sets the game object's world Angular Velocity
Type:
- float list [ vx, vy, vz ]
- vx: angular velocity on the world x-axis
- vy: angular velocity on the world y-axis
- vz: angular velocity on the world z-axis
Note:
- Physics Type: Rigid Body and Dynamic.
- Angular velocity (rotational velocity): amount of rotation that a game object undergoes per unit time

Sample Code
################## get the game object's world angular velocity
# import bge
import bge
# get controller
cont = bge.logic.getCurrentController()
# get object that controller is attached to
obj = cont.owner
# get the world angular Velocity
angVel = obj.worldAngularVelocity
Sample Code
################## set the game object's world angular velocity
# import bge
import bge
# get controller
cont = bge.logic.getCurrentController()
# get object that controller is attached to
obj = cont.owner
# set the game object's world angular velocity
obj.worldAngularVelocity = [ 0.0, 0.0, 1.0]