btBvhTriangleMeshShape_setOptimizedBvh

A function defined in GMBullet.yy

btBvhTriangleMeshShape_setOptimizedBvh(bvhTriangleMeshShape, bvh[, localScaling])

Description

Sets the optimized bounding volume hierarchy (BVH) for the BvhTriangleMeshShape, optionally with local scaling.

Arguments

Name Type Description
bvhTriangleMeshShape Pointer A pointer to the btBvhTriangleMeshShape object.
bvh Pointer A pointer to the optimized BVH to set.
localScaling Pointer A pointer to the local scaling vector to apply to the BVH. Defaults to (1, 1, 1) if not provided.

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