Returns the Vector representing the axis of rotation.
Return Type: Vector
# import Mathutils
# create a Quaternion
quat1 = Mathutils.Quaternion(1.0, 2.0 ,3.0 ,4.0 )
# Return the Axis
quatAxis = quat1.axis
The Blender Game
engine uses the Python programming language to extent
the capabilities of the game engine. The Python programming
is open source and free to use, even for commercial products.
is a multi-platform programing language that runs on Windows,
Linux/Unix and Mac OS X operating systems. A general-purpose
programming language, Python is a high-level, dynamic, object-oriented
language that beginners find easy to learn.