FindPartsInRegion3 | Table | |
FindDynamicsInRegion3 | Table | |
RaycastClosest | Tuple <Dynamic, Vector3, Vector3> | Given a ray, returns the closest intersected part within a max distance. Optionally ignores parts that are or are descendants of a specified dynamic. Returns in order: hit dynamic, ray hit position, and the normal of the surface hit |
RaycastAll | Table | Given a ray, returns an unordered array of all intersected parts within a max distance. Max limit of 10. Optionally ignores parts that are or are descendants of a specified dynamic |