Fixed the Flight and Drive manipulators to work with the updated Matrix::rotate
code.
This commit is contained in:
@@ -405,7 +405,7 @@ bool DriveManipulator::calcMovement()
|
||||
|
||||
float dx = _ga_t0->getX()-mx;
|
||||
|
||||
float yaw = inDegrees(dx*0.1f*dt);
|
||||
float yaw = -inDegrees(dx*0.1f*dt);
|
||||
|
||||
osg::Matrix mat;
|
||||
mat.makeTrans(-center.x(),-center.y(),-center.z());
|
||||
|
||||
Reference in New Issue
Block a user