Handling on-floor target
This commit is contained in:
4
Game.cpp
4
Game.cpp
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user