summaryrefslogtreecommitdiff
path: root/extractor/rsm_format.gd
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2026-06-04 10:38:38 +0200
committerDaniel Weipert <git@mail.dweipert.de>2026-06-04 10:38:38 +0200
commite403abb2a721572f53af6c0c7cdb57bc7a1acf1a (patch)
tree849c76bd0a05f04961129f68455c599697d3764b /extractor/rsm_format.gd
parentf3d360e022fce829370c7d916abe98083b14818c (diff)
next commitHEADmain
Diffstat (limited to 'extractor/rsm_format.gd')
-rw-r--r--extractor/rsm_format.gd4
1 files changed, 3 insertions, 1 deletions
diff --git a/extractor/rsm_format.gd b/extractor/rsm_format.gd
index 7f16368..30ef3ed 100644
--- a/extractor/rsm_format.gd
+++ b/extractor/rsm_format.gd
@@ -362,7 +362,9 @@ class ModelNode:
node.translate(translation_2)
if rotation_axis != Vector3.ZERO:
- node.rotation = (rotation_axis * rotation_angle) * Vector3(1,-1,1)
+ var quat = Quaternion(rotation_axis, rotation_angle)
+ node.rotation = quat.get_euler()
+ #node.rotation = (rotation_axis * rotation_angle) * Vector3(1,-1,1)
node.scale = scale