» Home » OgreBullet » Page 1
OgreBullet incorrect HeightmapCollisionShape shape scale?
by Furchin in Programming Languages

I am trying to load a HeightmapTerrainShape in OgreBullet by (mostly) using the demo code, but my terrain mesh is offset from the HeightmapTerrainShape. I have no clue why this is happening. This is my code:

void TerrainLoader::setTerrainPhysics(Ogre::Image *imgPtr)
unsigned page_size = terrainGroup->getTerrainSize();
Ogre::Vector3 terrainScale(4096 /

Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .