A function defined in GMBullet.yy
btHeightfieldTerrainShape_performRaycast(heightfieldTerrainShape, callback, raySource, rayTarget)
Performs a raycast on the heightfield terrain shape and invokes the specified callback for each triangle hit by the ray.
Name | Type | Description |
---|---|---|
heightfieldTerrainShape | Pointer |
A pointer to the btHeightfieldTerrainShape object. |
callback | Pointer |
A pointer to the callback object that will be invoked for each hit triangle. |
raySource | Pointer |
A pointer to a btVector3 representing the ray's source position. |
rayTarget | Pointer |
A pointer to a btVector3 representing the ray's target position. |
Copyright © 2024, BlueBurn. Built on October 13, 2024 using GMDoc.