# Rotation tool

This tool allows you to combine several VRML rotations into a single one:

X | Y | Z | angle | |
---|---|---|---|---|

Rotation 1: | ||||

Rotation 2: | ||||

Rotation 3: |

Angles are in: radians degrees

Number precision:

Result:

Result be copied & pasted to Webots (in radians):

Instructions:

- With this tool you can combine up to three VRML rotations, e.g. around the x-axis, the y-axis and the z-axis.
- If you need to combine just two rotations you can leave to 0 the rotation angle of the unused rotation.
- Each rotation is specified by an axis and an angle: the three first values represent the axis and should have a length equal to 1.0, the last value is the rotation angle specified in radians or degrees.
- For example "0 1 0 90" represents a rotation of 90 degrees around the y-axis and "0 0 1 45" represents a rotation of 45 degrees around the z-axis, and so on ...
- Note that "0 -1 0 45" is equivalent to "0 1 0 -45", and so on ...
- Also note that "1 0 0 0", "0 1 0 0" and "0 0 1 0" are identity rotations that have no effect.