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

refactor impulses #72

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

refactor impulses #72

wants to merge 5 commits into from

Conversation

michguo
Copy link
Collaborator

@michguo michguo commented Jan 6, 2022

  • Originally, the LCP solution was list of pointers. Each pointer pointed to a scalar py. We'd increment the pointer to access px and pz in the presence of friction.
  • Now, the LCP solution is a matrix with shape (numContacts, 3). The last two columns of each row are only used if friction is on.

TODO: Some tests are failing. To pass the tests, we need to add support for non-contact constraints with dynamic size impulses vector.

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

Successfully merging this pull request may close these issues.

None yet

1 participant