I saved the game by saving the scene to a .tscn file, opening it later, but nothing was saved normally, as if everything was from the beginning, but with the positions saved.
(Called from the scene)
var packed_scene = load("user://scene.tscn")
var my_scene = packed_scene.instance()
var packed_scene = PackedScene.new()
Node variables are not saved. I tried to use it but nothing worked. The positions of the objects were preserved, but the rest was not. And the vehicleBody generally fell somewhere...
Is there any way to fix this, save the scene completely, or do I have to write my save code?