Package de.coreengine.util.bullet
Class TerrainShapeCreator
- java.lang.Object
-
- de.coreengine.util.bullet.TerrainShapeCreator
-
public class TerrainShapeCreator extends Object
Class that can create a terrain collision shape- Author:
- Darius Dinger
-
-
Constructor Summary
Constructors Constructor Description TerrainShapeCreator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.bulletphysics.collision.shapes.BvhTriangleMeshShape
createTerrainShape(Terrain terr, int numQuads)
Creating a static collision shape for a terrain with a specific resolution.
-
-
-
Method Detail
-
createTerrainShape
public static com.bulletphysics.collision.shapes.BvhTriangleMeshShape createTerrainShape(Terrain terr, int numQuads)
Creating a static collision shape for a terrain with a specific resolution.- Parameters:
terr
- Terrain to create the shape fornumQuads
- Quads of the shape per row/column- Returns:
- Created static terrain shape
-
-