Skip to content

Problems with anisotropic friction #2517

Discussion options

You must be logged in to vote

So you want to replace this line with

  int ncon = mjraw_SphereSphere(con, margin, pos1, mat1, size1, vec, mat2, size2);

  // align contact frame second axis with capsule
  if (ncon) {
    mju_copy3(con->frame+3, axis);
  }

  return ncon;

I don't think that will make it into the next release, but you can make the change locally.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@salehiac
Comment options

Comment options

You must be logged in to vote
3 replies
@yuvaltassa
Comment options

@yuvaltassa
Comment options

Answer selected by salehiac
@salehiac
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants