I am quite confuse because the position I am putting in and using is the Vector3
Here are my codes
Code: Select all
if(id == OIS::MB_Left)
{
if(m_pCamera->getPosition() == Ogre::Vector3(1970 < 1985, 4 < 7, 100 < 120))
{
onLeftPressed(evt);
playerNode->setPosition(1974.8, 4.6, 98);
//playerNode->lookAt(mNode->getPosition(), Node::TS_PARENT, Vector3::UNIT_X);
//mNode->lookAt(playerNode->_getDerivedOrientation(), Node::TS_PARENT, Vector3::UNIT_Z);
//mNode->_getDerivedOrientation();
m_bLMouseDown = true;
}
}
