ワールド マトリックスから行を抽出して、Update 関数で呼び出されると平面が前進する前方ベクトルに配置しようとしています。現在、これは機能していますが、メンバーに直接アクセスしています。マトリックスから行を自動的に引き出す機能はありますか?
// [Skip this step first time through] Get the forward vector out of the world matrix and put it in m_vForwardVector
XMFLOAT4X4 f44; //create a 4x4 float
XMStoreFloat4x4(&f44, m_mWorldMatrix); //pass the world matrix into the 4x4 float
m_vForwardVector = XMVectorSet(f44._31, f44._32, f44._33, f44._34); //pass the forward vector values from the world matrix into the forward vector