Confused about the tutorial...

wahmo2

05-02-2011 21:57:43

Hello again,

More problems unfortunately.
In the tutorial on the wiki it says:Now change the constructor of your FrameListener (insert two extra fields):
but I don't have a constructor for a frame listener! The closest I have is 'createFrameListener(void)' which initialises OIS...
Just when I thought everything was fixed... :(

kulebril

02-03-2011 18:56:44

You have to use a FrameListener, in the tutorial we create a object called

class OgreBullet_Collision_testFrameListener : public ExampleFrameListener
{
public:
...


so, what it means is to change this constructor. Either way, you may create your own FrameListener and modify the constructor...