Tempest
28-09-2008 18:57:45
I'm trying to integrate OgreOde into my project, and I'm having some trouble. I'm going to need collision detection with terrain, so I'm using the Demo_Landscape project as a guide.
In the constructor for my FrameListener, I'm setting "this" as the collision listener, so it has to inherit from OgreOde::CollisionListener, such as:
However, when I try to compile, I get the following error:
Has anyone else run into this issue?
In the constructor for my FrameListener, I'm setting "this" as the collision listener, so it has to inherit from OgreOde::CollisionListener, such as:
class MyFrameListener : public ExampleFrameListener, public OgreOde::CollisionListener
However, when I try to compile, I get the following error:
'MyFrameListener' : cannot instantiate abstract class
at
mFrameListener = new MyFrameListener(mSceneMgr, mWindow, mCamera);
mRoot->addFrameListener(mFrameListener);
Has anyone else run into this issue?