We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
<RigidBody<N> as BodyPart<N>>::add_local_inertia_and_com
As the Parallel axis theorem shows, one cannot just add inertia tensors of two "objects" whose CoM isn't overlapping.
The method <RigidBody<N> as BodyPart<N>>::add_local_inertia_and_com just adds the given inertia to the local inertia.
// Update local inertia. self.local_inertia += inertia;
found in: https://github.com/dimforge/nphysics/blob/master/src/object/rigid_body.rs#L747-L766
The text was updated successfully, but these errors were encountered:
RigidBody::add_local_inertia_and_com
Successfully merging a pull request may close this issue.
As the Parallel axis theorem shows, one cannot just add inertia tensors of two "objects" whose CoM isn't overlapping.
The method
<RigidBody<N> as BodyPart<N>>::add_local_inertia_and_com
just adds the given inertia to the local inertia.found in:
https://github.com/dimforge/nphysics/blob/master/src/object/rigid_body.rs#L747-L766
The text was updated successfully, but these errors were encountered: