Registered Member
|
Is there an easy way to extract the forward vector from an Affine3f?
Is transform.matrix().block<1,3>( 2, 0 ) the best I can do? |
Moderator
|
|
Registered Member
|
I see it but isn't that the translation (4th column) not the forward vector (3rd column)?
|
Moderator
|
oh, then t.affine().col(2) is what you want
|
Registered Member
|
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]