【3Dゲームエンジン】Unity質問スレッド10at GAMEDEV
【3Dゲームエンジン】Unity質問スレッド10 - 暇つぶし2ch401:名前は開発中のものです。
14/07/10 03:40:59.03 xx5UL/cu.net
あ、コードの最終行は

× B.transform.rotation=new Vector3(rotationX,rotationY,rotationZ);
○ A.transform.rotation=new Vector3(rotationX,rotationY,rotationZ);

でした


というか欲を言うと

A.transform += (A.transform-B.transform)*0.1f

みたいに一行で全て済むのが理想ですが、さすがにこれはないですよね…


次ページ
最新レス表示
レスジャンプ
類似スレ一覧
スレッドの検索
話題のニュース
おまかせリスト
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch