Joe Abreu wrote:
Code:
osg::Vec3d position = car.GetPosition();
osg::Quat attitude = osg::Quat( turn_angle, osg::Vec3d(0,0,1) );
osg::Vec3d movement = osg::Vec3d(0,car.CurrentSpeed(),0);
// Some way of using a Quat(or whatever) to rotate my movement vector to the
correct heading based on 'angl
Joe Abreu wrote:
Hi,
I understand the concept of matricies, Vectors and Points in 3d Space. I have
learnt this at University.
I have an issue trying to understand the concept of OpenSceneGraphs use of Quaternions
and "attitude".
I do not really get what Attitude is, I'm used to the concepts
Hi,
I understand the concept of matricies, Vectors and Points in 3d Space. I have
learnt this at University.
I have an issue trying to understand the concept of OpenSceneGraphs use of
Quaternions and "attitude".
I do not really get what Attitude is, I'm used to the concepts of
Translate,Rotat
3 matches
Mail list logo