From e403abb2a721572f53af6c0c7cdb57bc7a1acf1a Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Thu, 4 Jun 2026 10:38:38 +0200 Subject: next commit --- extractor/rsm_format.gd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'extractor/rsm_format.gd') 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 -- cgit v1.2.3