Skip to content
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

CoM and Inertia Scaling #1088

Open
cgokmen opened this issue Feb 5, 2025 · 0 comments
Open

CoM and Inertia Scaling #1088

cgokmen opened this issue Feb 5, 2025 · 0 comments
Assignees

Comments

@cgokmen
Copy link
Contributor

cgokmen commented Feb 5, 2025

To support the newly-annotated masses, coms and inertias shipped with the object assets:

  • At load time, store the original mass / com / moi
  • When a new mass is set, use the ratio of the new mass to the original mass to compute the new moi, and make sure to set the same com still

RigidPrimView has the right APIs (set_com, set_inertia) to help with this.

@cgokmen cgokmen changed the title Implement correct CoM and inertia scaling when mass is set CoM and Inertia Scaling Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants