diff --git a/COGITO/SceneManagement/cogito_scene.gd b/COGITO/SceneManagement/cogito_scene.gd index beda326a..02c8b836 100644 --- a/COGITO/SceneManagement/cogito_scene.gd +++ b/COGITO/SceneManagement/cogito_scene.gd @@ -8,7 +8,7 @@ func move_player_to_connector(connector_name:String): if node.get_name() == connector_name: print("Connector found, moving player to ", node.get_name()) CogitoSceneManager._current_player_node.global_position = node.global_position - CogitoSceneManager._current_player_node.global_rotation = node.global_rotation + CogitoSceneManager._current_player_node.body.global_rotation = node.global_rotation return print("No connector with name ", connector_name, " found.")