Import 3d Model only code

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By javier

Hi, friends! I am trying to load a model inside the godot engine using only code. This is what my project looks like:

I create the camera without problems but I can’t see my 3D model…

Could it be because I haven’t uploaded any material?

I thank you in advance for your valuable help.

Thank you.

In the loading section, you did not put res:// in the file address, which is probably why the loading was not done, and it is better to use the preload function instead of the load function.

Fazel87 | 2023-03-21 23:05