I want to create a scene similar to the one in the link below. Where I also want to change the material of the objects in the scene.
I would just like a very simple code for this to happen.
Note: I don’t know anything about js.
1 Like
Hi @DaniloBam and welcome,
Check this simple example on how to change materials on an object using code:
https://developer.playcanvas.com/en/tutorials/switching-materials-at-runtime/
For buttons start here:
https://developer.playcanvas.com/en/tutorials/ui-elements-buttons/