Forum rules - please read before posting.

Change material doesn't seem to work

I place a sphere in the scene 
On Start Cutscene I have an Object:ChangeMaterial
Mesh renderer: Sphere
Material index 0
New Material whatever material

When I launch the scene the material of the sphere changes to my new material
when I quit the scene the sphere re acquires its original material.

What can I do to leave my material on even if I quit?

Comments

  • I'm pretty sure there's a "Remember Material" (or something similar) script for this exact purpose :)
  • There is.  Also be sure to follow the instructions detailed in Section 9.2 - the materials (both the original and new) must be stored in a "Resources" folder in your Project assets with unique filenames.
  • I have finished the game !!
    It is called "MymemoryTest" and it is basically a find-a-pair game.
    It has 18 cards covered with 9 pair of symbols (materials)  which have to be located.
    It does not have a shuffle routine because to do so in AC would be monumental (of course not for you Chris) or it could be done with script but this would defeat the purpose since I wanted to do it all with AC. I have made just one Custom ActionList that I call GetMaterial.
    If anybody wants it I could send it for free but I wouldn't know how 
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.