ekt
10-12-2006 10:36:01
I've updated my OgreOde copy to the latest cvs version.
my previous version was rather old, and i have some questions/problems.
In SimpleScenesApplication.cpp there is a typo. In non heihort branch, frameStarted gets called instead of frameEnded. This causes F1-F6 keys never get read and demos not starting.
Then a question. In my game i've implemented the stepper myself. After cd/stepping/etc i was calling _world->synchronise();
now i have to:
_world->updateDrawState();
_world->synchronise();
is this right?
Then, a problem. Body autosleep suddenly stopped working. Before it was working with no problem. I'll check deeply myself, but if you have any idea maybe you can direct me to the solution faster.
And least but not least, some kudos to tuan: DebugContacs==cool, WorldIsNotASingleton==cool, GeomOffset==cool, EverythingIveNotYetNoticed==cool
cheers
my previous version was rather old, and i have some questions/problems.
In SimpleScenesApplication.cpp there is a typo. In non heihort branch, frameStarted gets called instead of frameEnded. This causes F1-F6 keys never get read and demos not starting.
@@ -97,11 +97,11 @@
bool SimpleScenesFrameListener::frameEnded(const FrameEvent& evt)
{
// Tell our demo that the frame's ended before doing default processing
#if (OGRE_VERSION < ((1 << 16) | (3 << 8) | 0))
- _demo->frameStarted(evt,mInputDevice);
+ _demo->frameEnded(evt, mInputDevice);
#else
_demo->frameEnded(evt, mKeyboard, mMouse);
#endif //OGRE_VERSION not heihort
return ExampleFrameListener::frameEnded(evt);
}
Then a question. In my game i've implemented the stepper myself. After cd/stepping/etc i was calling _world->synchronise();
now i have to:
_world->updateDrawState();
_world->synchronise();
is this right?
Then, a problem. Body autosleep suddenly stopped working. Before it was working with no problem. I'll check deeply myself, but if you have any idea maybe you can direct me to the solution faster.
And least but not least, some kudos to tuan: DebugContacs==cool, WorldIsNotASingleton==cool, GeomOffset==cool, EverythingIveNotYetNoticed==cool
cheers