I cant color imported obj file in godot

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

When I import a obj file I cant change the color but when it is in the editor it changes but when I run the scene the color remains original

:bust_in_silhouette: Reply From: Calinou

3D scene and mesh files cannot be edited in Godot, as Godot is unable to save over them (and this would be unadvised if you’re using another program to create those files).

When using OBJ meshes, you need to load their mesh in a MeshInstance node, then create a material override for it in the inspector.

When using a 3D scene (glTF/Collada/OBJ as Scene), you need to create an inherited scene.

Ok I’ll try to do that thanks

Codell Musukwa | 2022-10-15 05:02