I’m trying to figure out how to animate the UV mapping location parameter in the game engine.
i.e. I have an image which I am using as a texture on a plane. The image is setup to be 6 times as wide as the plane. How do I use python to continually move the image along one axis when rendered in the game engine (e.g. a billboard graphic that continuously slides from left to right - looping endlessly)
I’m guessing I use an Always sensor on the plane object, and have the controller be a python script. How do I access the x or y position of the UV map in that script?
In the blender interface, in the settings for the texture, I can change the Location setting for the UV mapping, and it moves as intended.
How do I animate this effect in the game engine? Seems like it should be simple - can’t find any info on how to do it, or even how to access the UV map’s location in python.
(Did all that make sense? lol)