pub unsafe extern "C" fn PxConstraintConnector_onOriginShift_mut(
self_: *mut PxConstraintConnector,
shift: *const PxVec3
)
Expand description
Origin shift callback
This function is called by the SDK when the scene origin gets shifted and allows to adjust custom data which contains world space transforms.
If the adjustments affect constraint shader data, it is necessary to call PxConstraint::markDirty() to make sure that the data gets synced at the beginning of the next simulation step.