the Transform value formatting and its fields.

Author Topic: the Transform value formatting and its fields.  (Read 684 times)

I`d like to know more about the Transform value format  and its fields.

Example:

"3 4 5 0 0 1 3.39029"

I know the first 3 fields are the position of the object but what about the other fields?

please.
« Last Edit: March 09, 2017, 07:03:29 PM by FelipeO_O_ »

The object's rotation.

The first 3 are the position, the next 3 are the rotation axis, the last one is the rotation around that axis in radians.

For the example you posted:
position 3 4 5
rotation axis 0 0 1
rotation 3.39029

It means the object is rotated 3.39 radians (~194 degrees) around the Z axis.

You can find more if you search "axis angle" on google or similar
This might also be useful: https://forum.blockland.us/index.php?topic=27230.0