dimforge / dimforge/rapier

[Feature Request] Support shift origin function

Open
#456 1 comment 1 reaction 0 assignees View on GitHub
C-Enhancement
Dominant language
Rust
Stars
5.7k
Forks
387
Avg merge
4d 23h
Merged PRs (30d)
6

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.