New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Physics] Better handling of parented bodies #13914
[Physics] Better handling of parented bodies #13914
Conversation
Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s). |
Snapshot stored with reference name: Test environment: To test a playground add it to the URL, for example: https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13914/merge/index.html#WGZLGJ#4600 Links to test babylon tools with this snapshot: https://playground.babylonjs.com/?snapshot=refs/pull/13914/merge To test the snapshot in the playground with a playground ID add it after the snapshot query string: https://playground.babylonjs.com/?snapshot=refs/pull/13914/merge#BCU1XR#0 |
Tested with different PGs and it's all good to me!!! |
This PR aims to improve the handling of physical bodies that have parents. For that, we have to decompose the transformation we get from Havok into the parent transformation and the child transformation.
A point to check is the stability of this decomposition, especially in very long parenting chainsedit: stability is good now!.This PR will close #13862