Hello there! I noticed how the function FindPartOnRayWithIgnoreList is “deprecated” so I decided to convert one of my scripts with workspace:Raycast().
But one problem is with this line on the documentation
Contains the results of a raycast operation, or nil if no eligible BasePart or Terrain cell was hit.
So the position and normal wouldn’t be returned if there was no part. I would like to know a way to get these with a non-deprecated function.
Basically get something like this: instance=nil, position, normal
EDIT: I tried converting the other part of my script into raycast and it works perfectly, so I know how to do that case. My point is looking for position and normal in a ray.
Thanks!