Is it possible to play skin animation in reverse? [Three.js]

依然范特西╮ 提交于 2020-01-16 03:28:11

问题


How would I go about playing an animation backwards?

I've tried giving the animation handler negative delta but that just stops it. Subtracting the delta from this.currentTime of the animation doesn't work either.

Any ideas?


回答1:


Since Three.js r69 it's possible to play animations in reverse order by setting animation.timeScale = -1 though only when animation.loop = true.

See Reverse animation, feature request #5062 for more updates.



来源:https://stackoverflow.com/questions/24282035/is-it-possible-to-play-skin-animation-in-reverse-three-js

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!