JohnBoyManbullet
25-10-2011 04:58:52
Hello. I am trying to use the mTerrainShape = new OgreBulletCollisions::HeightmapCollisionShape(page_size, page_size, terrainScale, heights, true);
the problem is it will not work if i do this.
I have used using namespace OgreBulletCollisions;
and linked OgreBullet collisions libs.
The problem is no matter what i do, HeightmapCollisionShape will underline in red and say that the namespace is an incomplete type. I think there might be something wrong with the lib file.
the problem is it will not work if i do this.
OgreBulletCollisions::HeightmapCollisionShape* mTerrainShape = new OgreBulletCollisions::HeightmapCollisionShape(page_size, page_size, terrainScale, heights, true);
I have used using namespace OgreBulletCollisions;
and linked OgreBullet collisions libs.
The problem is no matter what i do, HeightmapCollisionShape will underline in red and say that the namespace is an incomplete type. I think there might be something wrong with the lib file.