From b9740fd2a12807b49a01a8bd4190792b60f911a9 Mon Sep 17 00:00:00 2001 From: scrawl Date: Tue, 21 Feb 2017 04:47:11 +0100 Subject: [PATCH] Fix btHeightFieldTerrainShape triangle layout to match rendering --- apps/openmw/mwphysics/physicssystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwphysics/physicssystem.cpp b/apps/openmw/mwphysics/physicssystem.cpp index de8774cfd..ebf51a66e 100644 --- a/apps/openmw/mwphysics/physicssystem.cpp +++ b/apps/openmw/mwphysics/physicssystem.cpp @@ -531,7 +531,7 @@ namespace MWPhysics mShape = new btHeightfieldTerrainShape( sqrtVerts, sqrtVerts, heights, 1, minh, maxh, 2, - PHY_FLOAT, true + PHY_FLOAT, false ); mShape->setUseDiamondSubdivision(true); mShape->setLocalScaling(btVector3(triSize, triSize, 1));