unity node

2015年2月9日 星期一

unity - rigidbody rotate






        rigidbody.velocity = movement*speed;


        rigidbody.rotation = Quaternion.Euler (0,0,-rigidbody.velocity.x *tilt);
張貼者: Peter 於 晚上10:46
以電子郵件傳送這篇文章BlogThis!分享至 X分享至 Facebook分享到 Pinterest

沒有留言:

張貼留言

較新的文章 較舊的文章 首頁
訂閱: 張貼留言 (Atom)

關於我自己

Peter
檢視我的完整簡介

網誌存檔

  • ▼  2015 (23)
    • ►  8月 (2)
    • ►  6月 (4)
    • ►  5月 (3)
    • ▼  2月 (10)
      • difference between Update and FixedUpdate
      • unity - showing instance object [System.Serializa...
      • unity - rigidbody rotate
      • unity - get keyboard arrow ,
      • unity - flight, plane control
      • unity 3d, texture material
      • Unity - panel trigger
      • unity - popular API
      • unity - camera transform, rotate, movement follow ...
      • unity - rigidbody arrow control by Keyboard
    • ►  1月 (4)
簡單主題. 技術提供:Blogger.