如何控制一帧动画的速度?

How to control the speed of an animation in a-frame?

<a-camera id="view">
              <a-animation attribute="position" from="30 30 30" to="-1 1.5 -2" delay="100"></a-animation>
              <a-cursor color="black"/>
  </a-camera>

我正在使用 a-frame 在 web VR 上制作一个项目,我面临着控制动画效果速度的特殊问题。有人有线索吗?这是我试图控制的动画速度:

只需尝试使用 dur: time[ms] 属性使持续时间 longer/shorter:

<a-animation attribute="position" from="30 30 30" to="-1 1.5 -2" delay="100" 
dur="2000"></a-animation>

随时查看 docs