summaryrefslogtreecommitdiff
path: root/extractor/rsm_format.gd
diff options
context:
space:
mode:
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