Gjk
public interface RaycastDetector
Ray
Convex
Shape
Transform
boolean
raycast(Ray ray, double maxLength, Convex convex, Transform transform, Raycast raycast)
boolean raycast(Ray ray, double maxLength, Convex convex, Transform transform, Raycast raycast)
The raycast parameter is used to stored the results of the raycast when returning true.
Returns false if the start position of the ray lies inside the given convex.
ray
maxLength
convex
transform
raycast