Skip to content

Resolve locking force when objects are already in collision.#105

Merged
kevinzakka merged 1 commit intokevinzakka:mainfrom
mattrobotcontributor:resolve_collision_locking_force
Sep 8, 2025
Merged

Resolve locking force when objects are already in collision.#105
kevinzakka merged 1 commit intokevinzakka:mainfrom
mattrobotcontributor:resolve_collision_locking_force

Conversation

@mattrobotcontributor
Copy link
Contributor

While it shouldn't typically happen, if collision objects have very small or no minimum distances there is a chance the objects can penetrate each other. If this happens, the direction of the Jacobian remains the same as before penetration but the sign changes. This means that the inequality constraint now enforces that that collision must remain in place.

Copy link
Owner

@kevinzakka kevinzakka left a comment

Choose a reason for hiding this comment

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

Great catch, thanks Matt!

@kevinzakka kevinzakka merged commit 6a5d919 into kevinzakka:main Sep 8, 2025
11 checks passed
kevinzakka added a commit that referenced this pull request Dec 19, 2025
…ocking_force

Resolve locking force when objects are already in collision.
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.

2 participants