boxConvex method

bool boxConvex(
  1. Box si,
  2. ConvexPolyhedron sj,
  3. Vec3 xi,
  4. Vec3 xj,
  5. Quaternion qi,
  6. Quaternion qj,
  7. Body bi,
  8. Body bj, [
  9. Shape? rsi,
  10. Shape? rsj,
  11. bool justTest = false,
])

Implementation

bool boxConvex(
  Box si,
  ConvexPolyhedron sj,
  Vec3 xi,
  Vec3 xj,
  Quaternion qi,
  Quaternion qj,
  Body bi,
  Body bj,
  [
    Shape? rsi,
    Shape? rsj,
    bool justTest = false
]){
  si.convexPolyhedronRepresentation.material = si.material;
  si.convexPolyhedronRepresentation.collisionResponse = si.collisionResponse;
  return convexConvex(si.convexPolyhedronRepresentation, sj, xi, xj, qi, qj, bi, bj, si, sj, justTest);
}