pub unsafe extern "C" fn PxScene_shiftOrigin_mut(
    self_: *mut PxScene,
    shift: *const PxVec3
)
Expand description

Shift the scene origin by the specified vector.

The poses of all objects in the scene and the corresponding data structures will get adjusted to reflect the new origin location (the shift vector will get subtracted from all object positions).

It is the user’s responsibility to keep track of the summed total origin shift and adjust all input/output to/from PhysX accordingly.

Do not use this method while the simulation is running. Calls to this method while the simulation is running will be ignored.

Make sure to propagate the origin shift to other dependent modules (for example, the character controller module etc.).

This is an expensive operation and we recommend to use it only in the case where distance related precision issues may arise in areas far from the origin.