dCreateHeightfield

@brief Creates a heightfield geom.

Uses the information in the given dHeightfieldDataID to construct a geom representing a heightfield in a collision space.

@param space The space to add the geom to. @param data The dHeightfieldDataID created by dGeomHeightfieldDataCreate and setup by dGeomHeightfieldDataBuildCallback, dGeomHeightfieldDataBuildByte, dGeomHeightfieldDataBuildShort or dGeomHeightfieldDataBuildFloat. @param bPlaceable If non-zero this geom can be transformed in the world using the usual functions such as dGeomSetPosition and dGeomSetRotation. If the geom is not set as placeable, then it uses a fixed orientation where the global y axis represents the dynamic 'height' of the heightfield.

@return A geom id to reference this geom in other calls.

@ingroup collide

extern (C) nothrow
dCreateHeightfield

Meta