0 votes

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

Godot version Godot 3.5 beta 5
in Engine by (26 points)

1 Answer

0 votes

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.

by (12,795 points)

Ok I'll try to do that thanks

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.