I’m a 3D artist and not much a scripter, but I found this simple uv animation javascript on here that slides your uv horizontally.
I’m trying to figure out how to do it vertically. If anyone can assist, I would greatly appreciated.
Here is the script:
// Scroll main texture based on time
var scrollSpeed = 0.2;
function Update() {
var offset = Time.time * scrollSpeed;
renderer.material.mainTextureOffset = Vector2 (offset,0);
}
// Scroll main texture based on time
var scrollSpeed = 0.2;
function Update() {
var offset = Time.time * scrollSpeed;
renderer.material.mainTextureOffset = Vector2 (0,offset);
}
I’m newbie to the community so still trying to figure things out.