2017年2月17日

通过代码实现具有一定频率的时间间隔(Time)

摘要: 方式一:利用Time.datelTime; float timeBetween float timer+=Time.daltaTime; if(timer>=timeBetween) { timer=0f; ********代码*********} 方式二:利用Time.time public fl 阅读全文

posted @ 2017-02-17 21:16 ThisIsRone 阅读(237) 评论(0) 推荐(0) 编辑

Quaternion:通过API对Quaternion(四元数)类中的方法属性初步学习总结(二)

摘要: 1.RotateTowards方法 RotateTowards(From.rotation,To.rotation,fspeed) 个人理解:使From的rotation以floatspeed为速度,旋转到To的rotation speed而是指每次移动的最大长度 2.Slerp球形插值 Quate 阅读全文

posted @ 2017-02-17 20:52 ThisIsRone 阅读(319) 评论(0) 推荐(0) 编辑

导航