diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2025-01-17 22:09:25 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2025-01-17 22:09:25 +0100 |
commit | bd77c88efc9327805b6f6fd83fa0492ed59d0f9a (patch) | |
tree | 99ed473ec1c137b774bd5e2a0e2bca9e56daf691 /extractor/rsw_format.gd | |
parent | e8f03c4d6a94aa16b3587bdce525cf0cf7c6c6c3 (diff) |
Diffstat (limited to 'extractor/rsw_format.gd')
-rw-r--r-- | extractor/rsw_format.gd | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/extractor/rsw_format.gd b/extractor/rsw_format.gd index 1066168..85d873c 100644 --- a/extractor/rsw_format.gd +++ b/extractor/rsw_format.gd @@ -127,9 +127,7 @@ func convert(name: String, data_path: String) -> Node3D: var model_root := Node3D.new() model_root.name = resource.name model_root.position = resource.get_position() * Vector3(-1, 1, 1) - model_root.rotate_x(deg_to_rad(resource.get_rotation().x)) - model_root.rotate_y(deg_to_rad(resource.get_rotation().y)) - model_root.rotate_z(deg_to_rad(resource.get_rotation().z)) + model_root.rotation_degrees = resource.get_rotation() model_root.scale = resource.get_scale() node.add_child(model_root) |