- Home /
can i animate image sequence for material animation in unity ?
I want to animate conveyer belt and I have Image Sequence for conveyer belt animation so we don't want to animate any object in any 3d software. just want to use image sequence for animation in play mode.
anyone can help me ??
Answer by Graham-Dunnett · Mar 22, 2013 at 11:50 AM
If your image sequence is actually a number of different image files, then load them into Unity, and store them in an array of Textures. Then, inside your Update function change the material. The example at Material.mainTexture does exactly that. Alternatively, if you have the animation clips inside a single image (texture atlas, or animation sheet) then just modify the material offset.
Your answer
Follow this Question
Related Questions
Animated material 1 Answer
Changing Material in Animation 2 Answers
Bringing visibilty and material animation from Max to Unity 3 Answers
Can the animation editor create local rotational data? 3 Answers
Adding animation clips via script 2 Answers