Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
the Transform value formatting and its fields.
« previous
next »
Print
Pages: [
1
]
Author
Topic: the Transform value formatting and its fields. (Read 801 times)
FelipeO_O_
March 09, 2017, 07:59:54 PM
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, 08:03:29 PM by FelipeO_O_
»
Ad Bot
Advertisement
Crøwn
March 09, 2017, 08:45:01 PM
The object's rotation.
Zeblote
March 09, 2017, 08:47:11 PM
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
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
the Transform value formatting and its fields.