The outward normal on the first shape at the time of impact, expressed in the local-space of the first shape.
The outward normal on the second shape at the time of impact, expressed in the local-space of the second shape.
The time of impact of the two shapes.
The contact point on the first shape at the time of impact, expressed in the local-space of the first shape.
The contact point on the second shape at the time of impact, expressed in the local-space of the second shape.
Static fromOptional target: ShapeCastHit
The result of a shape-cast between two shapes, returned by the pairwise casts
Shape.castShapeandCollider.castShape.The first shape is the one the cast is called on (the shape or collider
this), and the second shape is theshape2argument. Each witness point and normal is expressed in the local-space of its own shape, i.e., relative to that shape's pose (it does not depend on the shape's translation along the cast).