Function physx_sys::PxRigidActorExt_createBVHFromActor
source · pub unsafe extern "C" fn PxRigidActorExt_createBVHFromActor(
physics: *mut PxPhysics,
actor: *const PxRigidActor
) -> *mut PxBVH
Expand description
Convenience function to create a PxBVH object from a PxRigidActor.
The computed PxBVH can then be used in PxScene::addActor() or PxAggregate::addActor(). After adding the actor & BVH to the scene/aggregate, release the PxBVH object by calling PxBVH::release().
The PxBVH for this actor.