playcanvas / playcanvas/engine
Be able to change the center of mass for compound rigidbody created in editor
@willeastcott is already working on this.
Since May 20, 2020.
- Dominant language
- JavaScript
- Stars
- 16.8k
- Forks
- 2k
- Avg merge
- 4h 9m
- Merged PRs (30d)
- 218
Description
Description
Compound dynamic bodies created in the editor are behaving very oddly. Even if there is only one child and that child is setup the same way as a regular primitive rigidbody, the behavior it very different. The way they are interacting with other bodies and the way the editor displays the bounding box of the compound bodies incorrectly makes me believe it's a scaling issue for the children collisions, but I'm not sure.
Here is a sample project for build from master and last major version, both have the same issue: 1.27.0 and 1.28.0
The falling chair demo uses compound dynamic rigidbodies but they're created programmatically, which is what makes me think it is something specific to the editor.
Steps to Reproduce
- Create new project
- Create a dynamic rigidbody in the editor and something for it to interact with (floor)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.