raycast method

bool raycast(
  1. RayCastOutput output,
  2. RayCastInput input,
  3. int childIndex
)

Cast a ray against this shape.

Implementation

bool raycast(RayCastOutput output, RayCastInput input, int childIndex) {
  return shape.raycast(output, input, body.transform, childIndex);
}