Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
オブジェクトの位置ベクトル、前方ベクトル、上ベクトルを取得しました。私は使用しています
Matrix.CreateWorld(Position, Forward, Up);
世界行列を取得するには、回転ベクトルを抽出する方法がわかりません。また、回転ベクトルを位置から外し、前方および上方ベクトルを取得する別の方法はありますか?
tnx。
decompose メソッドを使用できます。
world.Decompose(out traslation, out rotation , out scale);