newbie trying bsp + newton

dudeabot

22-07-2007 17:10:01

i can compile

but the input is very weird, when i move mouse the node moves from place =( instead of just pitching and yawling

the code is based on BPS sample that comes with ogre demos + ragdoll from the ogrenewt demos

this is my project:

http://dsc.upe.br/~vns/ragdoll.rar

dudeabot

22-07-2007 17:51:49

i solved partially

commenting these lines:


// Also change position, and set Quake-type orientation
// Get random player start point
//ViewPoint vp = mSceneMgr->getSuggestedViewpoint(true);
//mCamera->setPosition(vp.position);
//mCamera->pitch(Degree(90)); // Quake uses X/Y horizon, Z up
//mCamera->rotate(vp.orientation);
// Don't yaw along variable axis, causes leaning
//mCamera->setFixedYawAxis(true, Vector3::UNIT_Z);


from ogrenewtonapplication.cpp, still trying to figure out why the player would move(up and down) if not commented :(