diff options
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) |