Open LogicFan opened 1 year ago
Similar to the shiftOrigin(Vec3) function provided in Phyx.
shiftOrigin(Vec3)
https://docs.nvidia.com/gameworks/content/gameworkslibrary/physx/guide/Manual/OriginShift.html
This is useful when developing a large world game where the float precision issue could exist.
Compared to manually updating all colliders/rigid bodies to shift a location, this method could preserve some caches, which gives better performance.
I agree this is a nice feature we should add in the future.
Similar to the
shiftOrigin(Vec3)
function provided in Phyx.https://docs.nvidia.com/gameworks/content/gameworkslibrary/physx/guide/Manual/OriginShift.html
This is useful when developing a large world game where the float precision issue could exist.
Compared to manually updating all colliders/rigid bodies to shift a location, this method could preserve some caches, which gives better performance.