.
-
dotProduct
- Posts: 5
- Joined: Sun Apr 22, 2012 3:26 am
Re: Collision in a class
getTriangleSelector is not a member of class Model, just like it says. For that to work, you need to add getTriangleSelector() { return node->getTriangleSelector(); } to your class.
You've created a very simple wrapper class. You might consider instead of having a pointer to IAnimatedMeshSceneNode as a member of your class, deriving your class from it if you want direct access to the it's function members or making the node a public member, so that sydneynode->node->getTriangleSelector() would work.
You've created a very simple wrapper class. You might consider instead of having a pointer to IAnimatedMeshSceneNode as a member of your class, deriving your class from it if you want direct access to the it's function members or making the node a public member, so that sydneynode->node->getTriangleSelector() would work.