castShapeNonLinear
Gets the first collider whose shape intersects a swept version of the provided shape. The swept shape starts at shapePos and travels:
linearly by shapeLinVel
rotationally by shapeAngVel around the local center shapeLocalCenter
The sweep starts at timeStart and ends at timeEnd.
This is more expensive than castShape as it also takes rotational velocity into account.
Parameters
The shape to cast.
The position the shape starts at.
The local-space point at which the rotational part of motion is applied.
The translational velocity of this shape motion.
The rotational velocity of this shape motion.
The starting time of the shape cast motion.
The ending time of the shape cast motion.
Settings on how the shape cast will behave.
The filter for determining which colliders are tested against.