要在A帧中进行补间,您可能会使用以下a-animation系统:
<a-entity camera position="0 1.6 0">
<a-animation attribute="position"
dur="2000"
easing="linear"
to="0 1.6 -10"></a-animation>
</a-entity>
Run Code Online (Sandbox Code Playgroud)
撇开:对于VR场景,自动移动相机通常会使用户感到不舒服,应该很少进行且完全没有加速度。
| 归档时间: |
|
| 查看次数: |
2998 次 |
| 最近记录: |