Godot Version
4.3
Question
Hey all,
I have been creating some simple models using AssetForge (Asset Forge · Kenney) for my game. Here is an example airplane (it’s very simple):
AssetForge allows exporting these models in various file formats. I have chosen the GLB format since it is highly compatible with Godot.
Anyway, I’d like to allow the player of my game to be able to choose the “color scheme” for these models. So, for example, the default color scheme as shown in the image is purple/white/black. I’d like to allow players to switch those up. For example, they may want to change the purple to orange or blue or green.
How am I able to identify and modify the material/color of a piece of an imported GLB 3d model programmatically / in code? I am using GDScript.
Any help would be appreciated. Thank you!