Handling on-floor target

This commit is contained in:
2025-08-21 15:03:07 +03:00
parent d3b2ae30d5
commit 2349bbc77e
2 changed files with 59 additions and 3 deletions

View File

@@ -244,7 +244,7 @@ public:
float panel_width;
void initGui();
};
#define WATER
#undef WATER
class App : public OgreBites::ApplicationContext {
std::unique_ptr<Ogre::Bullet::DynamicsWorld> mDynWorld;
std::unique_ptr<Ogre::Bullet::DebugDrawer> mDbgDraw;
@@ -561,7 +561,7 @@ public:
}
void updateWorld(float delta)
{
mDynWorld->getBtWorld()->stepSimulation(delta, 60);
mDynWorld->getBtWorld()->stepSimulation(delta, 4);
}
void updateWater(float delta)
{