capture
03-06-2007 22:16:00
I am pretty much using loading the same vehicle used for the simple vehicle demo in my application, and then i have completely copied Stunt Playground's camera system into my code. My problem is my camera is not working the way it should and i think it is a problem with the settings i am giving it. Could someone tell me what is wrong with my settings? I just want the camera to follow.
my settings so far
my settings so far
mFollowCam->setJustFollow(true);
mFollowCam->setGoalDistance(8);
mFollowCam->setGoalNode(mCar->mMainNode);
mFollowCam->setLookNode(mCar->mSightNode); // mSightNode is a child of mainnode with a position of 0,1,0
mFollowCam->setGoalYawAngle(Ogre::Radian(90));
mFollowCam->setGoalPitchAngle(Ogre::Radian(15));
mFollowCam->setJustFollowHeight(25);