Skip to content

Conversation

david-wb
Copy link

@david-wb david-wb commented Jul 16, 2025

This proposed change makes it so that when the side of a cylinder is in contact with a sphere, the contact frame is aligned to the axis of the cylinder. Otherwise, the contact frame seems to have arbitrary alignment because the code simulates a virtual sphere-sphere collision which zeros-out the second axis in the contact frame. The motivation for this change is to make it easier to simulate anisotropic friction on cylinders in contact with spheres. I also opened a discussion about this here, but it is so far unanswered:

Before (inconsistent contact frame alignment):

before

After (x-axis of contact frame aligned to z-axis of the cylinder):

after

Copy link

google-cla bot commented Jul 16, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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.

1 participant