摘要: 这次要完成Camera跟随Player移动,首先考虑Camera的跟随目标target和平滑移动速度smothing再考虑Camera与Player的偏移量(就是Camera与Player有一个永恒的长度)目标位置和平滑移动速度publicTransformtarget;publicfloatsmo... 阅读全文
posted @ 2015-08-22 12:22 小白胖墩儿 阅读(10188) 评论(1) 推荐(0)
摘要: MicrosoftInternetExplorer402DocumentNotSpecified7.8 磅Normal0Player移动: 1 public float speed = 6f; 2 Vector3 movement; 3 Rigidbody playerRididbody; 4 5... 阅读全文
posted @ 2015-08-22 11:48 小白胖墩儿 阅读(565) 评论(0) 推荐(0)