- Home /
Question by
JosueMariscal · Dec 26, 2016 at 09:25 PM ·
animationanimatorsynchronizationsyncmovie texture
Movie Texture with Maya Animation not syncing when Paused/Played
Hello,
I've recorded a movie at 25 fps and create a movie texture "video" within unity.
I've created an animation in Maya (25fps) that is "Overlayed" on top of the Movie Texture.
I created a "Pause" / "Play" toggle, using this snippet of code:
animation["Take 001"].speed = speed;
movieTexture.Play();
and obviously movieTexture.Pause(); for pause :P
I change the speed to 0 for pause and 1 for play, but when I toggle it on/off multiple times, the movie texture and animation become out of sync.
Ideas?
Comment
Your answer
Follow this Question
Related Questions
How to sync multiple animators with sprite animations ? 1 Answer
Camera Script sync with Animation and Sound 1 Answer
2D Animation does not start 1 Answer
Sync animaor of child prefab 0 Answers