- Home /
Animated Texture based on Movement
I'm designing a tank and since I currently lack any knowledge in animation, was wondering if it'd be possible to have the tank's treads simulate movement through an animated texture, one that would be sensitive to the entity's movement. Meaning that if, say, Input.GetAxis("Vertical") was returning a value of 0, the texture wouldn't animate at all, but if it were returning a value of 0.5 it'd animate at half the fps, and at 1 it'd animate at full motion.
Also, for such a thing, would this animated texture have to be done through a sliding shader or an actual frame-by-frame animation?
Any suggestions would be helpful, if its even possible.
Your answer
Follow this Question
Related Questions
How can I make Texture Projection Shader less than 1:1? 0 Answers
Combine Shaders 0 Answers
Why is my UV'd texture displaying wrapped with the wrong scale? 0 Answers
Transparent shader and scrolling 0 Answers
LineRenderer unchanging texture rotation 0 Answers