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.
RadSun
Posts: 7 Joined: Thu Sep 14, 2006 5:58 am
Post
by RadSun » Thu Sep 14, 2006 6:03 am
I trying to create collisions using createCollisionResponseAnimator but i have problem with createOctTreeTriangleSelector.
Code:
Code: Select all
scene::ITriangleSelector* s;
s = scene::ISceneManager->createOctTreeTriangleSelector(mesh,node);
node->setTriangleSelector(s);
s->drop();
Error:
Code: Select all
95 E:\Projekty\mmorpg2\main.cpp expected primary-expression before '->' token
hybrid
Admin
Posts: 14143 Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:
Post
by hybrid » Thu Sep 14, 2006 7:32 am
scene::ISceneManager is the interface used for the scene manager, but it is not the scene manager object. Either declare a variable pointing to the scene manager or use the driver->getSceneManager() directly.
kornerr
Posts: 245 Joined: Thu Jul 06, 2006 9:57 am
Location: Russia, Siberia, Kemerovo
Contact:
Post
by kornerr » Thu Sep 14, 2006 11:56 am
Open Source all the way, baby
OSRPG
Tonyx
Posts: 14 Joined: Fri Mar 11, 2005 5:13 pm
Post
by Tonyx » Thu Sep 14, 2006 7:52 pm
LOL