Ok I got it to work properly. The problem occurred when exporting the animation as a .json file.
For some reason (don’t ask me why) Blender filled in a rotation, that was never made.
I had to change it in the .json. (God thanks for multi-line replacer)
eg:
{
“gate”: {
“pos”: [0.000000,0.000000,32.086544],
“rot”: [0.707107,0.707107,0.000000,0.000000]
},
“frame”: {
“pos”: [0.000000,0.000000,0.000000],
“rot”: [0.707107,0.707107,0.000000,0.000000]
}
}
to
{ "gate": { "pos": [0.000000,0.000000,32.086544], "rot": [0.000000,0.000000,0.000000,0.000000] }, "frame": { "pos": [0.000000,0.000000,0.000000], "rot": [0.000000,0.000000,0.000000,0.000000] } }
Probably no one is reading this, but maybe someday someone will find it helpful
EDIT: Or use the Blender Plugin by @voxel_pirate . Saves a lot of time and nerves