I came accross a problem that I probably won't solve by my self (at least not in the amount of time i'd like) I'm just wondering if anyone knows how to use the scrolling UVs for textures. For the most part i'm wondering what the json flag does: (example) Code: "scrolling_uv": { "scroll_rate": 0.5, "uv_split": 0.875 }, What is that number doing for UV split? Is it an X coordinate?
Well, you already have scroll_rate which is obviously speed. The other thing I would assume you would want is direction. Perhaps it is the split between U velocity and V velocity?
I'm not sure, but there is nothing that tells the game which part of the UV map to use for tank treads. How would it know to use X part of the UV to scroll? That's what I think that number corresponds to, but I don't know exactly what it represents.
Ok maybe i did figure it out... xd So I was correct, the uv_split is like an X coordinate for the UV map. This is the cutoff point for the texture, anything beyond this percentage point will be animated. And yes, it represents a percentage. I had to eyeball it in photoshop by using the ruler and dividing the point where i want it to cutoff by the end of the UV map. (~1500 pixels divided by 2048 pixels in my example)