I was wondering if there's a good reason not to delete the gltf-files in my project ?
Do I need to keep gltf files in my project?
Advice as someone who equally doesn't know? Back them up somewhere, delete them from your project, and see what happens.
The fastest and coolest way to learn is to jump off the roof and see if you fly. It's only stupid if you're not taking the time to make the fall hurt less.
I've had to reinstall my OS maybe 4 times in the past month. Keep that in mind before taking my advice.
- Edited
In case a import gets somehow corrupted you'll be able to hit reimport.
edit: Since I've never actually tried deleting them like that I can't be sure, but I wouldn't be surprised if godot started complaining about broken file references and nagging you about missing files as well.
I think I read somewhere that once you export the project, Godot just exports the necessary information, so probably just forget about it. I'm pretty sure I tried deleting it a long time ago and basically crashed it, but I did get it running again. That was a long time ago though and my memory may have distorted it.
They are the 3D resources of the game, so no, you cannot delete them.
siska I was wondering if there's a good reason not to delete the gltf-files in my project ?
The situation is as follows. If you save the imported glTF as a scene, you don't need it anymore. But you need accompanying files — usually materials. In any case, you should not delete files from the system explorer, but from the engine. In this case, the engine will warn you if the files to be deleted are related to the project:
Everything that does not cause warnings can be deleted painlessly.
Thank you all for your replies !
You can actually delete the gltf-files without any problems if you first create a .tscn, and then click 'clear inheritance' (on the root node).
If you create materials in Godot (as opposed to importing them through the gltf) and save animations to file, there are no other dependencies ...
It sometimes seems easier to use assets this way, especially if the scenes need a lot of other nodes (for player interactions). In the past, I have had lots of problems after a gltf reimport (nodes having the wrong transform or being deleted) ...
So yeah, still not entirely sure about this.