A function defined in GMBullet.yy
btBvhTriangleMeshShape_performRaycast(bvhTriangleMeshShape, callback, raySource, rayTarget)
Performs a raycast on the triangle mesh shape and invokes the specified callback for each triangle hit by the ray.
Name | Type | Description |
---|---|---|
bvhTriangleMeshShape | Pointer |
A pointer to the btBvhTriangleMeshShape 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.