Class index __ Method index __ Mathutils index __ Euler index __ Matrix index __ Quaternion index __ Vector index __ |
RotationMatrixRotationMatrix(angle, matSize, axisFlag, axis)Creates a matrix representing a rotation.Returns Type: Matrix angle (The angle of rotation desired) Type:
float)
matSize (The size of the rotation matrix to construct. Can be 2x2, 3x3, or 4x4) Type:
Integer
axisFlag Type:
string
"x" =
x-axis rotation
"y" = y-axis rotation "z" = z-axis rotation" "r" = arbitrary rotation around vector axis: (optional -- The arbitrary axis of rotation used with the "R" axisFlag) Type=Vector
Sample
Code
|