boxHeightfield method

bool boxHeightfield(
  1. Box si,
  2. Heightfield 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 boxHeightfield(
  Box si,
  Heightfield 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 convexHeightfield(si.convexPolyhedronRepresentation, sj, xi, xj, qi, qj, bi, bj, rsi, rsj, justTest);
}