Defined in: packages/engine/src/maths/escape.ts:9
| Property |
Type |
Description |
point |
Vector3 |
- |
reach |
number |
Metres to look for the surface the point has to leave through. It prunes the tree rather than filtering the answer, so a surface a little past it is still answered and one well past it is missed: a point deeper inside a hull than the reach reads as being in the open. The reach is the caller’s, sized to what its point can be inside of. |
target |
Vector3 |
Written with the unit way out: away from the nearest surface where the point stands in front of it, and along the crossed face’s normal where it stands behind it. |