Function physx_sys::PxContactPair_bufferContacts
source · pub unsafe extern "C" fn PxContactPair_bufferContacts(
self_: *const PxContactPair,
newPair: *mut PxContactPair,
bufferMemory: *mut u8
)
Expand description
Helper method to clone the contact pair and copy the contact data stream into a user buffer.
The contact data stream is only accessible during the contact report callback. This helper function provides copy functionality to buffer the contact stream information such that it can get accessed at a later stage.