I have been informed that you need to change the material that is already
set instead of trying to set a new material for the side of the cube. It
feels strange to not be able to re-assign a sides material I know, I tried
....

I still have not tested the re-assigning of the material that is already
defined but here is an example where I destroy the cube and re-create using
new materials.

http://www.allforthecode.co.uk/aftc/forum/user/modules/forum/index.php?aid=110&index=3&subindex=3


D




On 16 June 2010 06:45, Mech7 <[email protected]> wrote:

> If I add a cube with moviematerial to the scene...
> and then I want to change to a new material:
>
> this.cube.cubeMaterials.front = this.zoneMaterials[1];
>
> Nothing happends is there anyway around this... right now I find that
> it works ok if I remove the object from the scene and make a new
> one... with the proper materials but it is reall annoying because the
> current state of the cube is important :(

Reply via email to