
personal code
秋丶
不玩手游的game developer
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Quaternion将对象的旋转从from平滑插值到to。一般用于模拟相机的观察方向从物体a过渡到物体b的效果
public Transform from; public Transform to;原创 2014-10-15 17:42:06 · 709 阅读 · 0 评论 -
Transfor.LookAt与Quaternion.LookRotation
Public Transfrom target; void Update(){ Vector3 }原创 2014-10-15 17:17:53 · 831 阅读 · 0 评论 -
模拟太阳的升起、日落。两向量之间的弧形插值
public float journetTime = 10f; private float startTime; public Transform sunrise; public Transform sunset ; Vector3 center ; Vector原创 2014-10-15 17:52:21 · 973 阅读 · 0 评论