pub unsafe extern "C" fn PxScene_setNbContactDataBlocks_mut(
    self_: *mut PxScene,
    numBlocks: u32
)
Expand description

set the cache blocks that can be used during simulate().

Each frame the simulation requires memory to store contact, friction, and contact cache data. This memory is used in blocks of 16K. Each frame the blocks used by the previous frame are freed, and may be retrieved by the application using PxScene::flushSimulation()

This call will force allocation of cache blocks if the numBlocks parameter is greater than the currently allocated number of blocks, and less than the max16KContactDataBlocks parameter specified at scene creation time.

Do not use this method while the simulation is running.