How do I cast a ray from an object to the camera?

Yes that would work. (Note: If you want to fire the ray over a longer distance you’d have to use .Unit)