Page 1 of 1

[Solved] animate an object with an animated material

Posted: Mon Sep 21, 2009 1:32 pm
by Gbadji
Hi,

I have two questions about animated materials :

1/ is it possible to animate an object having an animated material ?
If yes, I will continue my experiments and see why I can't link to my age

2/ can we start a material animation like an object animation ?
if yes, an indication will be appreciate.

Thanks and see you soon.

Re: animate an object with an animated material

Posted: Mon Sep 21, 2009 1:40 pm
by boblishman
1) is definately possible. Remember, your animated object (with the animated texture) must be an actor or Uru will crash

2) no idea ... sorry :cry:

Re: animate an object with an animated material

Posted: Mon Sep 21, 2009 4:03 pm
by D'Lanor
Gbadji wrote:2/ can we start a material animation like an object animation ?
if yes, an indication will be appreciate.

Thanks and see you soon.

You are in luck. I have recently updated this subject in the wiki: Animating_Textures#Controlling_Layer_Animations

Re: animate an object with an animated material

Posted: Tue Sep 22, 2009 9:35 am
by Gbadji
Thanks Boblishman, I have suppressed my object to go back in my age, but I think that you are right, I had fogotten the Actor property.

Thanks D'Lanor, why I haven't seen that part of the article this week-end :(.

I know what to do this evening : a new puzzle ;).

[Edit} it's working well. Thanks all for your help and your job.
I have changed the activation script :

Code: Select all

               - type: animcmdmsg
                 params:
                  receivers:
                    - 0043:MatBassin2-TexBassin
                  cmds:
                    - setlooping
                    - continue
                 waiton: 0

adding setlooping to have the water flowing when the button stops to turn. :)


See you soon.