titanhope
20-10-2009 09:00:15
in class init i can scale shape box like this:
m_pShape = new NxOgre::Box(rsize.x*sx,rsize.y*sy,rsize.z*sz);
but how to scale :
m_pShape = new NxOgre::Convex(pMesh);
m_pShape = new NxOgre::TriangleGeometry(pMesh);
and in game how to scale NxOgre::Box in update.
m_pShape = new NxOgre::Box(rsize.x*sx,rsize.y*sy,rsize.z*sz);
but how to scale :
m_pShape = new NxOgre::Convex(pMesh);
m_pShape = new NxOgre::TriangleGeometry(pMesh);
and in game how to scale NxOgre::Box in update.