Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 13, 2008, 12:29:45 AM (16 years ago)
Author:
landauf
Message:

small camera fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/objects/Camera.cc

    r1784 r1911  
    8585      this->cameraNode_->translate(coeff * offset);
    8686
    87       this->cameraNode_->setOrientation(Quaternion::Slerp(7.0f * dt, this->positionNode_->getWorldOrientation(), this->cameraNode_->getWorldOrientation(), false));
     87      this->cameraNode_->setOrientation(Quaternion::Slerp(1-coeff, this->positionNode_->getWorldOrientation(), this->cameraNode_->getWorldOrientation(), false));
    8888    }
    8989  }
Note: See TracChangeset for help on using the changeset viewer.