Game Development Community

Texture animation/Scrolling textures

by Jonas · in Torque 3D Professional · 05/24/2014 (12:45 am) · 2 replies

Heya,

Im currently looking at what posibilities there are in Torque3D for texture animation, specifically scrolling animation that can have its state/speed changed in script during run time. Can one by any chance change the animation properties of a material in run time and if so how would one go about doing that?

Best regards
Jonas

About the author

Freelance 3D artist at day scripter/coder on Enduring Life at night. Lover of all things TorqueScript.


#1
05/24/2014 (4:43 am)
Take a look at this resource about theora video's as a texture. I don't know if this is what you're looking for but it might give you an idea.

Here is the link:
http://www.garagegames.com/community/resources/view/21019
#2
07/05/2014 (10:58 am)
Hello, sorry for taking ages to respond to this.

Thanks for the link Richard, although its not quite what im looking for.

Basically what i want to do is manipulate a materials attributes in run time. So for example in the material editor i can set a value that determines the materials scrolling speed, how would i go about doing the same thing through script whilst my game is running?

Best regards
Jonas