btHeightfieldTerrainShape_createF64

A function defined in GMBullet.yy

btHeightfieldTerrainShape_createF64(heightStickWidth, heightStickLength, heightfieldData, minHeight, maxHeight, upAxis, flipQuadEdges)

Description

Creates a heightfield terrain shape using double-precision height data.

Arguments

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 double-precision 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.

Returns

Pointer A pointer to the created btHeightfieldTerrainShape.


Copyright © 2024, BlueBurn. Built on October 13, 2024 using GMDoc.