raycast abstract method

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

Cast a ray against a child shape.

output is the ray-cast results. input the ray-cast input parameters. transform to be applied to the shape. childIndex the child shape index Returns true if the child shape is hit.

Implementation

bool raycast(
  RayCastOutput output,
  RayCastInput input,
  Transform transform,
  int childIndex,
);