worldScale
worldScale
gets the object's world scale
Type: float list [scaleX, scaleY, scaleZ]
Sample Code
################# Get worldScale
# get the controller
controller = GameLogic.getCurrentController()
# get the game object that the controller is attached
to.
obj = controller.owner
# get owner's world scale
scaleWorld = obj.worldScale
|