Skip to content

Conversation

@akeeste
Copy link
Contributor

@akeeste akeeste commented Apr 25, 2022

Project card

The bodyClass fixed mass option can be somewhat misleading if there is not actually a fixed constraint. If the body isn't fixed it will likely sink indefinitely and become unphysical. Also, if a fixed constraint is connected to the body, body.mass='fixed' is not required and its mass doesn't affect the simulation.

This PR removes the body.mass='fixed' option, the associated logic, and a small related section in the documentation. For after v5.0

@akeeste akeeste added the Body Class Body Class (bodyClass.m) label Apr 25, 2022
Copy link
Collaborator

@kmruehl kmruehl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. Making a minor change to the doc, then I'll merge.

@kmruehl kmruehl self-assigned this Jul 1, 2022
@kmruehl kmruehl merged commit 684ea3c into WEC-Sim:dev Jul 1, 2022
@akeeste akeeste deleted the removeFixedMass branch July 13, 2022 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Body Class Body Class (bodyClass.m)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants