A function defined in GMBullet.yy
btHeightfieldTerrainShape_createF32(heightStickWidth, heightStickLength, heightfieldData, minHeight, maxHeight, upAxis, flipQuadEdges)
Creates a heightfield terrain shape using floating-point height data.
Name | Type | Description |
---|---|---|
heightStickWidth | Real |
The width of each height stick in the heightfield. |
heightStickLength | Real |
The length of each height stick in the heightfield. |
heightfieldData | Id.Buffer |
A buffer with floating-point height data. |
minHeight | Real |
The minimum height value in the heightfield. |
maxHeight | Real |
The maximum height value in the heightfield. |
upAxis | Real |
The axis indicating the "up" direction (0 for X, 1 for Y, 2 for Z). |
flipQuadEdges | Bool |
Set to true to flip quad edges. |
Pointer
A pointer to the created btHeightfieldTerrainShape.
Copyright © 2024, BlueBurn. Built on October 13, 2024 using GMDoc.