.

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
yepins
Posts: 1
Joined: Thu Apr 19, 2012 12:12 pm

.

Post by yepins »

.
Last edited by yepins on Wed Apr 25, 2012 1:50 pm, edited 1 time in total.
dotProduct
Posts: 5
Joined: Sun Apr 22, 2012 3:26 am

Re: Collision in a class

Post by dotProduct »

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.
Post Reply