jme3-bullet fix for issue #1125 (physics shapes don't match TerrainQuad)
This commit is contained in:
parent
200714e2a8
commit
db89c64e4b
@ -147,7 +147,7 @@ public class HeightfieldCollisionShape extends CollisionShape {
|
||||
this.maxHeight = max;
|
||||
|
||||
this.upAxis = 1;
|
||||
this.flipQuadEdges = false;
|
||||
flipQuadEdges = true;
|
||||
|
||||
heightStickWidth = (int) FastMath.sqrt(heightfieldData.length);
|
||||
heightStickLength = heightStickWidth;
|
||||
|
Loading…
x
Reference in New Issue
Block a user