- Home /
texture "animation" sync with character problem [PAID]
I need help!
I'm trying to sync a "texture" animation with a character I've used Application.CaptureScreenshot to capture this.
and here's the actual scene:
The animation consist of 13 images:
Now here's the problem:
function playy (){
play = true;
print("play");
play2();
}
function play2 (){
while(true){
renderer.material.mainTexture = st[cur];
cur++;
if(cur == 13) cur = 1;
yield WaitForSeconds(0.05);
}
}
the playy function is called when I press T on my keyboard. The character also starts it's running animation. the "texture" and character is not synced! Can someone help me out? Thanks! I'll donate some $$ if I you have a working solution ;)
Comment
Your answer
Follow this Question
Related Questions
Video texture problem? 2 Answers
Add keyframe in existing animation at runtime 0 Answers
Character won't play animation 8 Answers
Animation clip skipping keyframes when FPS drop? 0 Answers
Custom Pivot Points in Sprite Editor 1 Answer