Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics

Asset Forge

Create your own 3D models and 2D sprites! · By Kenney

How do you use forge.materialColor ?

A topic by diegonicita created 43 days ago Views: 78 Replies: 2
Viewing posts 1 to 2
(1 edit)

I want to change the color of the pieces of an object i am doing. How do you do it with forge.materialColor ?

Hey! You can write forge.materialColor(name of material, color in HEX), so i.e.

forge.materialColor("stone", "#FFFFFF")

Do note that this is just when scripting, you can change the color or material in the pane on the left.

Thanks but I want to change the color of the pieces I am creating with the script.  Can I do that ?