You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
タグ検索の該当結果が少ないため、タイトル検索結果を表示しています。
こんにちは、開発者の t-kuhn です。Unity Engine に携わる仕事をすると必ず Quaternion に遭遇します。何だか不思議な名前で数学概念はとっつきにくいから「とりあえず回転を表すモノ」と脳内保存して次に進む開発者も多いでしょう。この記事では Quaternion * Quaternion と Quaternion * Vector3 がどのような場面で使われるか、また簡単な例をもとに計算自体はどうなっているかについて書きたいと思います。 // Unity Engine の Quaternion のコンストラクター // Quaternion は4つの要素(x, y, z, w)からできています。 public Quaternion(float x, float y, float z, float w) { this.x = x; this.y = y; this.z
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く